summaryrefslogtreecommitdiff
path: root/drivers/md
diff options
context:
space:
mode:
authorWang Sheng-Hui <shhuiw@foxmail.com>2018-02-05 10:25:44 +0800
committerMike Snitzer <snitzer@redhat.com>2018-04-03 15:04:15 -0400
commit2d77dafe23b6c0cc9e501bda0e3f138b96ecd811 (patch)
treec0be8a6cff0ad1ea2d01e3a71b86a8952c403068 /drivers/md
parentafac6bd6d1a3ea38c800aa82d6d0ceda518b3aec (diff)
dm: remove unused macro DM_MOD_NAME_SIZE
Signed-off-by: Wang Sheng-Hui <shhuiw@foxmail.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md')
-rw-r--r--drivers/md/dm-target.c2
1 files changed, 0 insertions, 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;