projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afac6bd
)
dm: remove unused macro DM_MOD_NAME_SIZE
author
Wang Sheng-Hui
<shhuiw@foxmail.com>
Mon, 5 Feb 2018 02:25:44 +0000
(10:25 +0800)
committer
Mike Snitzer
<snitzer@redhat.com>
Tue, 3 Apr 2018 19:04:15 +0000
(15:04 -0400)
Signed-off-by: Wang Sheng-Hui <shhuiw@foxmail.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-target.c
patch
|
blob
|
history
diff --git
a/drivers/md/dm-target.c
b/drivers/md/dm-target.c
index c0d7e60820c45d5c3bcfcf1ebaa0bfed1e530448..314d17ca64668a70ea1f6445111ca19b2024141e 100644
(file)
--- 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;