This variable is never read, so it can be removed. Signed-off-by: Mikulas Patocka --- drivers/md/dm-snap.c | 1 - drivers/md/dm-snap.h | 3 --- 2 files changed, 4 deletions(-) Index: linux-2.6.25.3/drivers/md/dm-snap.c =================================================================== --- linux-2.6.25.3.orig/drivers/md/dm-snap.c 2008-05-22 18:57:21.000000000 +0200 +++ linux-2.6.25.3/drivers/md/dm-snap.c 2008-05-22 18:58:05.000000000 +0200 @@ -593,7 +593,6 @@ static int snapshot_ctr(struct dm_target s->valid = 1; s->active = 0; - s->last_percent = 0; init_rwsem(&s->lock); s->ti = ti; Index: linux-2.6.25.3/drivers/md/dm-snap.h =================================================================== --- linux-2.6.25.3.orig/drivers/md/dm-snap.h 2008-05-22 18:57:20.000000000 +0200 +++ linux-2.6.25.3/drivers/md/dm-snap.h 2008-05-22 18:58:18.000000000 +0200 @@ -157,9 +157,6 @@ struct dm_snapshot { /* Used for display of table */ char type; - /* The last percentage we notified */ - int last_percent; - mempool_t *pending_pool; struct exception_table pending;