[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20210313104835.365458-1-zhang.yunkai@zte.com.cn>
Date: Sat, 13 Mar 2021 02:48:35 -0800
From: menglong8.dong@...il.com
To: mb@...htnvm.io
Cc: linux-block@...r.kernel.org, linux-kernel@...r.kernel.org,
Zhang Yunkai <zhang.yunkai@....com.cn>
Subject: [PATCH] lightnvm: remove duplicate include in lightnvm.h
From: Zhang Yunkai <zhang.yunkai@....com.cn>
'linux/blkdev.h' and 'uapi/linux/lightnvm.h' included in 'lightnvm.h'
is duplicated.It is also included in the 5th and 7th line.
Signed-off-by: Zhang Yunkai <zhang.yunkai@....com.cn>
---
include/linux/lightnvm.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/include/linux/lightnvm.h b/include/linux/lightnvm.h
index 1db223710b28..0908abda9c1b 100644
--- a/include/linux/lightnvm.h
+++ b/include/linux/lightnvm.h
@@ -112,10 +112,8 @@ struct nvm_dev_ops {
#ifdef CONFIG_NVM
-#include <linux/blkdev.h>
#include <linux/file.h>
#include <linux/dmapool.h>
-#include <uapi/linux/lightnvm.h>
enum {
/* HW Responsibilities */
--
2.25.1
Powered by blists - more mailing lists