DORMANTno replies

[patch] orinoco: remove an unused variable

From: Dan Carpenter <hidden>
Date: 2011-11-24 07:22:48
Also in: kernel-janitors
Subsystem: networking drivers (wireless), the rest · Maintainers: Johannes Berg, Linus Torvalds

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

Signed-off-by: Dan Carpenter <redacted>
---
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.
diff --git a/drivers/net/wireless/orinoco/orinoco_usb.c b/drivers/net/wireless/orinoco/orinoco_usb.c
index ae8ce56..f634d45 100644
--- a/drivers/net/wireless/orinoco/orinoco_usb.c
+++ b/drivers/net/wireless/orinoco/orinoco_usb.c
@@ -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");
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help