[PATCH] lightnvm: remove duplicate include in lightnvm.h
From: menglong8 . dong
Date: Sat Mar 13 2021 - 05:49:22 EST
From: Zhang Yunkai <zhang.yunkai@xxxxxxxxxx>
'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@xxxxxxxxxx>
---
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