Re: [PATCH][14/37] Clean up duplicate includes in drivers/spi/

From: David Brownell
Date: Sat Jul 21 2007 - 14:43:55 EST


On Saturday 21 July 2007, Jesper Juhl wrote:
> Hi,
>
> This patch cleans up duplicate includes in
> drivers/spi/
>
>
> Signed-off-by: Jesper Juhl <jesper.juhl@xxxxxxxxx>

ACK ... although, on general principles I suspect there are more
needless includes to remove, these are just especially obvious. :)


> ---
>
> diff --git a/drivers/spi/pxa2xx_spi.c b/drivers/spi/pxa2xx_spi.c
> index e51311b..16bf66b 100644
> --- a/drivers/spi/pxa2xx_spi.c
> +++ b/drivers/spi/pxa2xx_spi.c
> @@ -26,7 +26,6 @@
> #include <linux/dma-mapping.h>
> #include <linux/spi/spi.h>
> #include <linux/workqueue.h>
> -#include <linux/errno.h>
> #include <linux/delay.h>
>
> #include <asm/io.h>
> diff --git a/drivers/spi/spi_bfin5xx.c b/drivers/spi/spi_bfin5xx.c
> index 48587c2..88362b4 100644
> --- a/drivers/spi/spi_bfin5xx.c
> +++ b/drivers/spi/spi_bfin5xx.c
> @@ -39,7 +39,6 @@
> #include <linux/dma-mapping.h>
> #include <linux/spi/spi.h>
> #include <linux/workqueue.h>
> -#include <linux/errno.h>
> #include <linux/delay.h>
>
> #include <asm/io.h>
>


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/