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.26-devel/drivers/md/dm-snap.c =================================================================== --- linux-2.6.26-devel.orig/drivers/md/dm-snap.c 2008-07-14 20:03:58.000000000 +0200 +++ linux-2.6.26-devel/drivers/md/dm-snap.c 2008-07-14 20:04:05.000000000 +0200 @@ -594,7 +594,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.26-devel/drivers/md/dm-snap.h =================================================================== --- linux-2.6.26-devel.orig/drivers/md/dm-snap.h 2008-07-14 20:03:58.000000000 +0200 +++ linux-2.6.26-devel/drivers/md/dm-snap.h 2008-07-14 20:04:05.000000000 +0200 @@ -158,9 +158,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;