Skip to contentSkip to conversation

drivers/usb/storage: Remove duplicate headers

PATCH In review Sabyasachi Gupta 2 participants 2 messages Jan 10, 2019 – Jan 11, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers/usb/storage: Remove duplicate headers

Remove duplicate headers which are included more than once.

---
 drivers/usb/storage/datafab.c    | 1 -
 drivers/usb/storage/ene_ub6250.c | 1 -
 2 files changed, 2 deletions(-)
drivers/usb/storage/datafab.c +0 -1
index 09353be..4b1bd56 100644
@@ -102,7 +102,6 @@ MODULE_DEVICE_TABLE(usb, datafab_usb_ids);
 }
 
 static struct us_unusual_dev datafab_unusual_dev_list[] = {
-#	include "unusual_datafab.h"
 	{ }		/* Terminating entry */
 };
 
drivers/usb/storage/ene_ub6250.c +0 -1
index 4d261e4..79a07bf 100644
@@ -65,7 +65,6 @@ MODULE_DEVICE_TABLE(usb, ene_ub6250_usb_ids);
 }
 
 static struct us_unusual_dev ene_ub6250_unusual_dev_list[] = {
-#	include "unusual_ene_ub6250.h"
 	{ }		/* Terminating entry */
 };
 
maintainer
#1 lore raw
Quoted 13 lines · Sabyasachi Gupta

Remove duplicate headers which are included more than once.

---
 drivers/usb/storage/datafab.c    | 1 -
 drivers/usb/storage/ene_ub6250.c | 1 -
 2 files changed, 2 deletions(-)
drivers/usb/storage/datafab.c +0 -0
index 09353be..4b1bd56 100644

drivers/usb/storage/datafab.c MODULE_DEVICE_TABLE(usb, datafab_usb_ids); · line 106

Quoted 6 lines
drivers/usb/storage/datafab.c +0 -1
@@ -102,7 +102,6 @@ MODULE_DEVICE_TABLE(usb, datafab_usb_ids);
 }
 
 static struct us_unusual_dev datafab_unusual_dev_list[] = {
-#	include "unusual_datafab.h"
 	{ }		/* Terminating entry */
 };

Nope, this breaks things :(