Patchwork drivers/usb/storage/cypress_atacb.c: Remove duplicate header

login
register
mail settings
Submitter Sabyasachi Gupta
Date Jan. 10, 2019, 6:49 a.m.
Message ID <5c36eb05.1c69fb81.c3ab9.8a59@mx.google.com>
Download mbox | patch
Permalink /patch/696373/
State New
Headers show

Comments

Sabyasachi Gupta - Jan. 10, 2019, 6:49 a.m.
Remove unusual_cypress.h which is included more than once.

Signed-off-by: Sabyasachi Gupta <sabyasachi.linux@gmail.com>
---
 drivers/usb/storage/cypress_atacb.c | 1 -
 1 file changed, 1 deletion(-)
Greg Kroah-Hartman - Jan. 11, 2019, 9:10 a.m.
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 <sabyasachi.linux@gmail.com>
> ---
>  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.

Patch

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 */
 };