From: Wang Sheng-Hui Subject: [PATCH] dm-target.c: remove unused macro DM_MOD_NAME_SIZE Date: Mon, 5 Feb 2018 10:25:44 +0800 Message-ID: <20180205022544.5341-1-shhuiw@foxmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: agk@redhat.com, snitzer@redhat.com, dm-devel@redhat.com List-Id: dm-devel.ids DM_MOD_NAME_SIZE is not used in the kernel src. Remove the macro define. Signed-off-by: Wang Sheng-Hui --- 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