summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-target.c
diff options
context:
space:
mode:
authorWang Sheng-Hui <shhuiw@foxmail.com>2018-02-05 03:25:44 +0100
committerMike Snitzer <snitzer@redhat.com>2018-04-03 21:04:15 +0200
commit2d77dafe23b6c0cc9e501bda0e3f138b96ecd811 (patch)
treec0be8a6cff0ad1ea2d01e3a71b86a8952c403068 /drivers/md/dm-target.c
parentdm unstripe: remove unnecessary header includes (diff)
downloadlinux-2d77dafe23b6c0cc9e501bda0e3f138b96ecd811.tar.xz
linux-2d77dafe23b6c0cc9e501bda0e3f138b96ecd811.zip
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/dm-target.c')
-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;