[dm-devel] [PATCH] dm-target.c: remove unused macro DM_MOD_NAME_SIZE
Wang Sheng-Hui
shhuiw at foxmail.com
Mon Feb 5 02:25:44 UTC 2018
DM_MOD_NAME_SIZE is not used in the kernel src.
Remove the macro define.
Signed-off-by: Wang Sheng-Hui <shhuiw at foxmail.com>
---
drivers/md/dm-target.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/md/dm-target.c b/drivers/md/dm-target.c
index c0d7e60820c4..314d17ca6466 100644
--- a/drivers/md/dm-target.c
+++ b/drivers/md/dm-target.c
@@ -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;
--
2.11.0
More information about the dm-devel
mailing list