diff options
-rw-r--r-- | drivers/md/dm-snap.c | 1 | ||||
-rw-r--r-- | drivers/md/dm-snap.h | 3 |
2 files changed, 0 insertions, 4 deletions
diff --git a/drivers/md/dm-snap.c b/drivers/md/dm-snap.c index 4ed9b7aaadbc..b2d9d1ac28ad 100644 --- a/drivers/md/dm-snap.c +++ b/drivers/md/dm-snap.c | |||
@@ -600,7 +600,6 @@ static int snapshot_ctr(struct dm_target *ti, unsigned int argc, char **argv) | |||
600 | 600 | ||
601 | s->valid = 1; | 601 | s->valid = 1; |
602 | s->active = 0; | 602 | s->active = 0; |
603 | s->last_percent = 0; | ||
604 | init_rwsem(&s->lock); | 603 | init_rwsem(&s->lock); |
605 | spin_lock_init(&s->pe_lock); | 604 | spin_lock_init(&s->pe_lock); |
606 | s->ti = ti; | 605 | s->ti = ti; |
diff --git a/drivers/md/dm-snap.h b/drivers/md/dm-snap.h index 292c15609ae3..49c17bf12c21 100644 --- a/drivers/md/dm-snap.h +++ b/drivers/md/dm-snap.h | |||
@@ -158,9 +158,6 @@ struct dm_snapshot { | |||
158 | /* Used for display of table */ | 158 | /* Used for display of table */ |
159 | char type; | 159 | char type; |
160 | 160 | ||
161 | /* The last percentage we notified */ | ||
162 | int last_percent; | ||
163 | |||
164 | mempool_t *pending_pool; | 161 | mempool_t *pending_pool; |
165 | 162 | ||
166 | struct exception_table pending; | 163 | struct exception_table pending; |