* [patch] orinoco: remove an unused variable
@ 2011-11-24 7:22 Dan Carpenter
0 siblings, 0 replies; only message in thread
From: Dan Carpenter @ 2011-11-24 7:22 UTC (permalink / raw)
To: John W. Linville
Cc: Jiri Pirko, Greg Kroah-Hartman, Pavel Roskin, linux-wireless,
linux-usb, orinoco-devel, kernel-janitors
The "version" isn't used anymore now that this is a module_usb_driver().
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
---
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");
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2011-11-24 7:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-24 7:22 [patch] orinoco: remove an unused variable Dan Carpenter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox