Skip to contentSkip to conversation

libertas: nuke useless variable usbdriver_name and useless comments

PATCH In review Andres Salomon 1 participant 1 message Nov 16, 2007 Networking drivers (wireless)

lore
Share & tools
lore
#0 lore raw

PATCH 4/4 libertas: nuke useless variable usbdriver_name and useless comments

I think it was pretty obvious what fields in if_usb_driver are...

---
 drivers/net/wireless/libertas/if_usb.c |    8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)
drivers/net/wireless/libertas/if_usb.c +1 -7
index e9aad16..f7bafc3 100644
@@ -18,8 +18,6 @@
 
 #define MESSAGE_HEADER_LEN	4
 
-static const char usbdriver_name[] = "usb8xxx";
-
 static char *libertas_fw_name = "usb8388.bin";
 module_param_named(fw_name, libertas_fw_name, charp, 0644);
 
@@ -1099,13 +1097,9 @@ static int if_usb_resume(struct usb_interface *intf)
 #endif
 
 static struct usb_driver if_usb_driver = {
-	/* driver name */
-	.name = usbdriver_name,
-	/* probe function name */
+	.name = DRV_NAME,
 	.probe = if_usb_probe,
-	/* disconnect function  name */
 	.disconnect = if_usb_disconnect,
-	/* device signature table */
 	.id_table = if_usb_table,
 	.suspend = if_usb_suspend,
 	.resume = if_usb_resume,
Signature · 1 line
1.5.3.4