orinoco: remove an unused variable
Subsystems (2)
PATCH 1/1 orinoco: remove an unused variable
The "version" isn't used anymore now that this is a module_usb_driver().
Signed-off-by Dan Carpenter <[email protected]>
---
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
@@ -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" );