diff options
author | Andres Salomon <dilinger@debian.org> | 2007-11-20 17:43:32 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:04:49 -0500 |
commit | 82209adcb157e5861f2105d1658f1f07f75d69f2 (patch) | |
tree | 725d0f80df07cf2f06ba7dac198ae9f9e0114b37 /drivers/net | |
parent | 66bb42fd47c3d7e23b3ca5bb2b025a198100d670 (diff) |
libertas: drop useless default_fw_name variable
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')
-rw-r--r-- | drivers/net/wireless/libertas/if_usb.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/net/wireless/libertas/if_usb.c b/drivers/net/wireless/libertas/if_usb.c index 797d3fbf7154..6d19d2677027 100644 --- a/drivers/net/wireless/libertas/if_usb.c +++ b/drivers/net/wireless/libertas/if_usb.c | |||
@@ -19,9 +19,8 @@ | |||
19 | #define MESSAGE_HEADER_LEN 4 | 19 | #define MESSAGE_HEADER_LEN 4 |
20 | 20 | ||
21 | static const char usbdriver_name[] = "usb8xxx"; | 21 | static const char usbdriver_name[] = "usb8xxx"; |
22 | static u8 *default_fw_name = "usb8388.bin"; | ||
23 | 22 | ||
24 | static char *lbs_fw_name; | 23 | static char *lbs_fw_name = "usb8388.bin"; |
25 | module_param_named(fw_name, lbs_fw_name, charp, 0644); | 24 | module_param_named(fw_name, lbs_fw_name, charp, 0644); |
26 | 25 | ||
27 | /* | 26 | /* |
@@ -1027,10 +1026,6 @@ static int if_usb_init_module(void) | |||
1027 | 1026 | ||
1028 | lbs_deb_enter(LBS_DEB_MAIN); | 1027 | lbs_deb_enter(LBS_DEB_MAIN); |
1029 | 1028 | ||
1030 | if (lbs_fw_name == NULL) { | ||
1031 | lbs_fw_name = default_fw_name; | ||
1032 | } | ||
1033 | |||
1034 | ret = usb_register(&if_usb_driver); | 1029 | ret = usb_register(&if_usb_driver); |
1035 | 1030 | ||
1036 | lbs_deb_leave_args(LBS_DEB_MAIN, "ret %d", ret); | 1031 | lbs_deb_leave_args(LBS_DEB_MAIN, "ret %d", ret); |