summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-snap.h
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2008-10-21 17:44:53 +0100
committerAlasdair G Kergon <agk@redhat.com>2008-10-21 17:44:53 +0100
commitf68d4f3d394da5b1f69d855b8513f4256ccc803e (patch)
tree0302fdc83ab62aeb9ad891dffd772625219bcbfc /drivers/md/dm-snap.h
parent7c5f78b9d7f21937e46c26db82976df4b459c95c (diff)
downloadlinux-f68d4f3d394da5b1f69d855b8513f4256ccc803e.tar.gz
linux-f68d4f3d394da5b1f69d855b8513f4256ccc803e.tar.bz2
linux-f68d4f3d394da5b1f69d855b8513f4256ccc803e.zip
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.h')
-rw-r--r--drivers/md/dm-snap.h3
1 files changed, 0 insertions, 3 deletions
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 {
/* Used for display of table */
char type;
- /* The last percentage we notified */
- int last_percent;
-
mempool_t *pending_pool;
struct exception_table pending;