[PATCH] mtd: spi-nor: remove duplicate included header files

Tudor Ambarus tudor.ambarus at linaro.org
Wed Feb 1 02:01:46 PST 2023



On 01.02.2023 11:30, ye.xingchen at zte.com.cn wrote:
> From: ye xingchen <ye.xingchen at 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 at 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>



More information about the linux-mtd mailing list