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

From: Yury Norov
Date: Wed Jul 06 2022 - 13:43:24 EST


From: Ingo Molnar <mingo@xxxxxxxxxx>

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

Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx>
Signed-off-by: Yury Norov <yury.norov@xxxxxxxxx>
---
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