summaryrefslogtreecommitdiff
path: root/drivers/md/dm-snap.h
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2008-10-21 16:44:53 (GMT)
committerAlasdair G Kergon <agk@redhat.com>2008-10-21 16:44:53 (GMT)
commitf68d4f3d394da5b1f69d855b8513f4256ccc803e (patch)
tree0302fdc83ab62aeb9ad891dffd772625219bcbfc /drivers/md/dm-snap.h
parent7c5f78b9d7f21937e46c26db82976df4b459c95c (diff)
downloadlinux-fsl-qoriq-f68d4f3d394da5b1f69d855b8513f4256ccc803e.tar.xz
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 292c156..49c17bf 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;