From: John W. Linville Date: Tue, 24 Jan 2012 20:03:04 +0000 (-0500) Subject: orinoco_usb: remove version definition X-Git-Tag: v3.4-rc1~177^2~112^2~393 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=47d505ccc7535c825f6b28aaaf105d4b75f25196;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git orinoco_usb: remove version definition 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 --- 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");