Skip to contentSkip to conversation

orinoco: remove an unused variable

PATCH New Dan Carpenter 1 participant 1 message Nov 24, 2011

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

PATCH 1/1 orinoco: remove an unused variable

The "version" isn't used anymore now that this is a module_usb_driver().

---
I wrote this patch against linux-next.

This is a fallout from d632eb1bf22 "USB: convert drivers/net/* to use module_usb_driver()" so I'm not sure if this patch should go through the USB tree or the wireless tree.

drivers/net/wireless/orinoco/orinoco_usb.c +0 -5
index ae8ce56..f634d45 100644
@@ -1754,11 +1754,6 @@ static struct usb_driver orinoco_driver = {
 	.id_table = ezusb_table,
 };
 
-/* Can't be declared "const" or the whole __initdata section will
- * become const */
-static char version[] __initdata = DRIVER_NAME " " DRIVER_VERSION
-	" (Manuel Estrada Sainz)";
-
 module_usb_driver(orinoco_driver);
 
 MODULE_AUTHOR("Manuel Estrada Sainz");