orinoco_usb: remove version definition
authorJohn W. Linville <linville@tuxdriver.com>
Tue, 24 Jan 2012 20:03:04 +0000 (15:03 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 24 Jan 2012 20:03:04 +0000 (15:03 -0500)
Avoids this:

  CC [M]  drivers/net/wireless/orinoco/orinoco_usb.o
drivers/net/wireless/orinoco/orinoco_usb.c:1759:13: warning: ‘version’ defined but not used

Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/orinoco/orinoco_usb.c

index ae8ce56670b6734cec89ee5688263dcf2ba39db9..f634d4582bfe9d1d18890870ac74e499dc315a1b 100644 (file)
@@ -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");