All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mtd: spi-nor: remove duplicate included header files
@ 2023-02-01  9:30 ` ye.xingchen
  0 siblings, 0 replies; 4+ messages in thread
From: ye.xingchen @ 2023-02-01  9:30 UTC (permalink / raw)
  To: tudor.ambarus
  Cc: pratyush, michael, miquel.raynal, richard, vigneshr, linux-mtd,
	linux-kernel

From: ye xingchen <ye.xingchen@zte.com.cn>

linux/delay.h is included more than once.

Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>
---
 drivers/mtd/spi-nor/core.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/mtd/spi-nor/core.c b/drivers/mtd/spi-nor/core.c
index e9ea14598ec3..d67c926bca8b 100644
--- a/drivers/mtd/spi-nor/core.c
+++ b/drivers/mtd/spi-nor/core.c
@@ -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>
-- 
2.25.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH] mtd: spi-nor: remove duplicate included header files
@ 2023-02-01  9:30 ` ye.xingchen
  0 siblings, 0 replies; 4+ messages in thread
From: ye.xingchen @ 2023-02-01  9:30 UTC (permalink / raw)
  To: tudor.ambarus
  Cc: pratyush, michael, miquel.raynal, richard, vigneshr, linux-mtd,
	linux-kernel

From: ye xingchen <ye.xingchen@zte.com.cn>

linux/delay.h is included more than once.

Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>
---
 drivers/mtd/spi-nor/core.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/mtd/spi-nor/core.c b/drivers/mtd/spi-nor/core.c
index e9ea14598ec3..d67c926bca8b 100644
--- a/drivers/mtd/spi-nor/core.c
+++ b/drivers/mtd/spi-nor/core.c
@@ -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>
-- 
2.25.1

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] mtd: spi-nor: remove duplicate included header files
  2023-02-01  9:30 ` ye.xingchen
@ 2023-02-01 10:01   ` Tudor Ambarus
  -1 siblings, 0 replies; 4+ messages in thread
From: Tudor Ambarus @ 2023-02-01 10:01 UTC (permalink / raw)
  To: ye.xingchen
  Cc: pratyush, michael, miquel.raynal, richard, vigneshr, linux-mtd,
	linux-kernel



On 01.02.2023 11:30, ye.xingchen@zte.com.cn wrote:
> From: ye xingchen <ye.xingchen@zte.com.cn>
> 
> linux/delay.h is included more than once.

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

> 
> Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>
> ---
>   drivers/mtd/spi-nor/core.c | 1 -
>   1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/mtd/spi-nor/core.c b/drivers/mtd/spi-nor/core.c
> index e9ea14598ec3..d67c926bca8b 100644
> --- a/drivers/mtd/spi-nor/core.c
> +++ b/drivers/mtd/spi-nor/core.c
> @@ -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>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] mtd: spi-nor: remove duplicate included header files
@ 2023-02-01 10:01   ` Tudor Ambarus
  0 siblings, 0 replies; 4+ messages in thread
From: Tudor Ambarus @ 2023-02-01 10:01 UTC (permalink / raw)
  To: ye.xingchen
  Cc: pratyush, michael, miquel.raynal, richard, vigneshr, linux-mtd,
	linux-kernel



On 01.02.2023 11:30, ye.xingchen@zte.com.cn wrote:
> From: ye xingchen <ye.xingchen@zte.com.cn>
> 
> linux/delay.h is included more than once.

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

> 
> Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>
> ---
>   drivers/mtd/spi-nor/core.c | 1 -
>   1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/mtd/spi-nor/core.c b/drivers/mtd/spi-nor/core.c
> index e9ea14598ec3..d67c926bca8b 100644
> --- a/drivers/mtd/spi-nor/core.c
> +++ b/drivers/mtd/spi-nor/core.c
> @@ -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>

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-02-01 10:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-01  9:30 [PATCH] mtd: spi-nor: remove duplicate included header files ye.xingchen
2023-02-01  9:30 ` ye.xingchen
2023-02-01 10:01 ` Tudor Ambarus
2023-02-01 10:01   ` Tudor Ambarus

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.