From: Mikulas Patocka Date: Tue, 2 Aug 2011 11:32:03 +0000 (+0100) Subject: dm snapshot: remove unused definitions X-Git-Tag: firefly_0821_release~3680^2~4777^2~22 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=aa3f0794d279cd154ac100f92ff3904ea1f56de2;p=firefly-linux-kernel-4.4.55.git dm snapshot: remove unused definitions Remove a couple of unused #defines. Signed-off-by: Mikulas Patocka Signed-off-by: Alasdair G Kergon --- diff --git a/drivers/md/dm-snap.c b/drivers/md/dm-snap.c index 9ecff5f3023a..9d6daa0eaff6 100644 --- a/drivers/md/dm-snap.c +++ b/drivers/md/dm-snap.c @@ -29,16 +29,6 @@ static const char dm_snapshot_merge_target_name[] = "snapshot-merge"; #define dm_target_is_snapshot_merge(ti) \ ((ti)->type->name == dm_snapshot_merge_target_name) -/* - * The percentage increment we will wake up users at - */ -#define WAKE_UP_PERCENT 5 - -/* - * kcopyd priority of snapshot operations - */ -#define SNAPSHOT_COPY_PRIORITY 2 - /* * The size of the mempool used to track chunks in use. */