[PATCH 07/10] headers/deps: mm: Optimize <linux/gfp.h> header dependencies

Yury Norov yury.norov at gmail.com
Wed Jul 6 10:42:50 PDT 2022


From: Ingo Molnar <mingo at kernel.org>

There's a couple of superfluous inclusions here - remove them before
doing bigger changes.

Signed-off-by: Ingo Molnar <mingo at kernel.org>
Signed-off-by: Yury Norov <yury.norov at gmail.com>
---
 include/linux/gfp.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/include/linux/gfp.h b/include/linux/gfp.h
index 2d2ccae933c2..52f2c873a7d4 100644
--- a/include/linux/gfp.h
+++ b/include/linux/gfp.h
@@ -2,10 +2,7 @@
 #ifndef __LINUX_GFP_H
 #define __LINUX_GFP_H
 
-#include <linux/mmdebug.h>
 #include <linux/mmzone.h>
-#include <linux/stddef.h>
-#include <linux/linkage.h>
 #include <linux/topology.h>
 
 /* The typedef is in types.h but we want the documentation here */
-- 
2.34.1




More information about the linux-arm-kernel mailing list