aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless
diff options
context:
space:
mode:
authorAndres Salomon <dilinger@debian.org>2007-11-20 17:44:04 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:04:51 -0500
commit798fbfec9ca1dfd656963debb14d049868d24465 (patch)
treedab05290628ba85d6222b68cd16edf5380b78878 /drivers/net/wireless
parentbe13f1897f76a4b395c3d572a18b2802fd521946 (diff)
libertas: nuke useless variable usbdriver_name and useless comments
I think it was pretty obvious what fields in if_usb_driver are... Signed-off-by: Andres Salomon <dilinger@debian.org> Signed-off-by: Dan Williams <dcbw@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r--drivers/net/wireless/libertas/if_usb.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/net/wireless/libertas/if_usb.c b/drivers/net/wireless/libertas/if_usb.c
index 4d4f757a9279..043a33d49f46 100644
--- a/drivers/net/wireless/libertas/if_usb.c
+++ b/drivers/net/wireless/libertas/if_usb.c
@@ -17,8 +17,6 @@
17 17
18#define MESSAGE_HEADER_LEN 4 18#define MESSAGE_HEADER_LEN 4
19 19
20static const char usbdriver_name[] = "usb8xxx";
21
22static char *lbs_fw_name = "usb8388.bin"; 20static char *lbs_fw_name = "usb8388.bin";
23module_param_named(fw_name, lbs_fw_name, charp, 0644); 21module_param_named(fw_name, lbs_fw_name, charp, 0644);
24 22
@@ -998,13 +996,9 @@ static int if_usb_resume(struct usb_interface *intf)
998#endif 996#endif
999 997
1000static struct usb_driver if_usb_driver = { 998static struct usb_driver if_usb_driver = {
1001 /* driver name */ 999 .name = DRV_NAME,
1002 .name = usbdriver_name,
1003 /* probe function name */
1004 .probe = if_usb_probe, 1000 .probe = if_usb_probe,
1005 /* disconnect function name */
1006 .disconnect = if_usb_disconnect, 1001 .disconnect = if_usb_disconnect,
1007 /* device signature table */
1008 .id_table = if_usb_table, 1002 .id_table = if_usb_table,
1009 .suspend = if_usb_suspend, 1003 .suspend = if_usb_suspend,
1010 .resume = if_usb_resume, 1004 .resume = if_usb_resume,