2019-01-10 06:52:09

by Sabyasachi Gupta

[permalink] [raw]
Subject: [PATCH] drivers/usb/storage/cypress_atacb.c: Remove duplicate header

Remove unusual_cypress.h which is included more than once.

Signed-off-by: Sabyasachi Gupta <[email protected]>
---
drivers/usb/storage/cypress_atacb.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/usb/storage/cypress_atacb.c b/drivers/usb/storage/cypress_atacb.c
index 4825902..be2e346 100644
--- a/drivers/usb/storage/cypress_atacb.c
+++ b/drivers/usb/storage/cypress_atacb.c
@@ -55,7 +55,6 @@ MODULE_DEVICE_TABLE(usb, cypress_usb_ids);
}

static struct us_unusual_dev cypress_unusual_dev_list[] = {
-# include "unusual_cypress.h"
{ } /* Terminating entry */
};

--
2.7.4



2019-01-11 09:34:50

by Greg Kroah-Hartman

[permalink] [raw]
Subject: Re: [PATCH] drivers/usb/storage/cypress_atacb.c: Remove duplicate header

On Thu, Jan 10, 2019 at 12:19:36PM +0530, Sabyasachi Gupta wrote:
> Remove unusual_cypress.h which is included more than once.
>
> Signed-off-by: Sabyasachi Gupta <[email protected]>
> ---
> drivers/usb/storage/cypress_atacb.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/usb/storage/cypress_atacb.c b/drivers/usb/storage/cypress_atacb.c
> index 4825902..be2e346 100644
> --- a/drivers/usb/storage/cypress_atacb.c
> +++ b/drivers/usb/storage/cypress_atacb.c
> @@ -55,7 +55,6 @@ MODULE_DEVICE_TABLE(usb, cypress_usb_ids);
> }
>
> static struct us_unusual_dev cypress_unusual_dev_list[] = {
> -# include "unusual_cypress.h"
> { } /* Terminating entry */
> };
>
> --
> 2.7.4
>

Again, no.