Skip to contentSkip to conversation

dm-target.c: remove unused macro DM_MOD_NAME_SIZE

PATCH New Wang Sheng-Hui 1 participant 1 message Feb 5, 2018 Device mapper

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dm-target.c: remove unused macro DM_MOD_NAME_SIZE

DM_MOD_NAME_SIZE is not used in the kernel src.
Remove the macro define.

---
 drivers/md/dm-target.c | 2 --
 1 file changed, 2 deletions(-)
drivers/md/dm-target.c +0 -2
index c0d7e60820c4..314d17ca6466 100644
@@ -16,8 +16,6 @@
 static LIST_HEAD(_targets);
 static DECLARE_RWSEM(_lock);
 
-#define DM_MOD_NAME_SIZE 32
-
 static inline struct target_type *__find_target_type(const char *name)
 {
 	struct target_type *tt;
Signature · 1 line
2.11.0