* [PATCH linux-next] drivers/base/node: remove duplicated included linux/hugetlb.h
@ 2022-11-08 11:53 yang.yang29
0 siblings, 0 replies; only message in thread
From: yang.yang29 @ 2022-11-08 11:53 UTC (permalink / raw)
To: rafael; +Cc: linux-kernel, xu.panda668
From: Xu Panda <xu.panda@zte.com.cn>
The linux/hugetlb.h is included more than once.
Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Xu Panda <xu.panda@zte.com.cn>
Signed-off-by: Yang Yang <yang.yang29@zte.com>
---
drivers/base/node.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/base/node.c b/drivers/base/node.c
index faf3597a96da..4306611ac092 100644
--- a/drivers/base/node.c
+++ b/drivers/base/node.c
@@ -20,7 +20,6 @@
#include <linux/pm_runtime.h>
#include <linux/swap.h>
#include <linux/slab.h>
-#include <linux/hugetlb.h>
static struct bus_type node_subsys = {
.name = "node",
--
2.15.2
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-11-08 11:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-08 11:53 [PATCH linux-next] drivers/base/node: remove duplicated included linux/hugetlb.h yang.yang29
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox