projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5bf45a3
)
dm snapshot: remove unused definitions
author
Mikulas Patocka
<
[email protected]
>
Tue, 2 Aug 2011 11:32:03 +0000
(12:32 +0100)
committer
Alasdair G Kergon
<
[email protected]
>
Tue, 2 Aug 2011 11:32:03 +0000
(12:32 +0100)
Remove a couple of unused #defines.
Signed-off-by: Mikulas Patocka <
[email protected]
>
Signed-off-by: Alasdair G Kergon <
[email protected]
>
drivers/md/dm-snap.c
patch
|
blob
|
history
diff --git
a/drivers/md/dm-snap.c
b/drivers/md/dm-snap.c
index 9ecff5f3023a4c4f0721b958ef1541e762e910ff..9d6daa0eaff65f6b069ec3d845cd0e6278e59d78 100644
(file)
--- 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.
*/