diff mbox series

[06/23] memory: of: Remove unused headers

Message ID 20200723073744.13400-7-krzk@kernel.org (mailing list archive)
State Changes Requested
Headers show
Series memory: Cleanup, improve and compile test memory drivers | expand

Commit Message

Krzysztof Kozlowski July 23, 2020, 7:37 a.m. UTC
The of_memory.c does not use platform_device nor linked list.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 drivers/memory/of_memory.c | 2 --
 1 file changed, 2 deletions(-)
diff mbox series

Patch

diff --git a/drivers/memory/of_memory.c b/drivers/memory/of_memory.c
index 71f26eac7350..cfcb91eeccfb 100644
--- a/drivers/memory/of_memory.c
+++ b/drivers/memory/of_memory.c
@@ -7,8 +7,6 @@ 
  */
 
 #include <linux/device.h>
-#include <linux/platform_device.h>
-#include <linux/list.h>
 #include <linux/of.h>
 #include <linux/gfp.h>
 #include <linux/export.h>