diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2008-10-21 12:44:53 -0400 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2008-10-21 12:44:53 -0400 |
commit | f68d4f3d394da5b1f69d855b8513f4256ccc803e (patch) | |
tree | 0302fdc83ab62aeb9ad891dffd772625219bcbfc /drivers/md/dm-snap.c | |
parent | 7c5f78b9d7f21937e46c26db82976df4b459c95c (diff) |
dm snapshot: drop unused last_percent
The last_percent field is unused - remove it.
(It dates from when events were triggered as each X% filled up.)
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'drivers/md/dm-snap.c')
-rw-r--r-- | drivers/md/dm-snap.c | 1 |
1 files changed, 0 insertions, 1 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; |