Skip to contentSkip to conversation

mtd: spi-nor: remove duplicate included header files

PATCH In review [email protected] 2 participants 2 messages Feb 1, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mtd: spi-nor: remove duplicate included header files

From: ye xingchen <[email protected]>

linux/delay.h is included more than once.

---
 drivers/mtd/spi-nor/core.c | 1 -
 1 file changed, 1 deletion(-)
drivers/mtd/spi-nor/core.c +0 -1
index e9ea14598ec3..d67c926bca8b 100644
@@ -16,7 +16,6 @@
 #include <linux/math64.h>
 #include <linux/sizes.h>
 #include <linux/slab.h>
-#include <linux/delay.h>
 
 #include <linux/mtd/mtd.h>
 #include <linux/of_platform.h>
Signature · 1 line
2.25.1
#1 lore raw
Quoted 3 lines · On 01.02.2023 11:30, [email protected] wrote:

From: ye xingchen <[email protected]>

linux/delay.h is included more than once.

I see it only once included. Would you please double check?

Quoted 18 lines
---
  drivers/mtd/spi-nor/core.c | 1 -
  1 file changed, 1 deletion(-)
drivers/mtd/spi-nor/core.c +0 -1
index e9ea14598ec3..d67c926bca8b 100644
@@ -16,7 +16,6 @@
  #include <linux/math64.h>
  #include <linux/sizes.h>
  #include <linux/slab.h>
-#include <linux/delay.h>
 
  #include <linux/mtd/mtd.h>
  #include <linux/of_platform.h>