projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66bb42f
)
libertas: drop useless default_fw_name variable
author
Andres Salomon
<dilinger@debian.org>
Tue, 20 Nov 2007 22:43:32 +0000
(17:43 -0500)
committer
David S. Miller
<davem@davemloft.net>
Mon, 28 Jan 2008 23:04:49 +0000
(15:04 -0800)
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>
drivers/net/wireless/libertas/if_usb.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/libertas/if_usb.c
b/drivers/net/wireless/libertas/if_usb.c
index 797d3fbf7154e4cc2ee1563257988ff02a58fa00..6d19d26770272d48521741229d4791f9cc72dc3d 100644
(file)
--- a/
drivers/net/wireless/libertas/if_usb.c
+++ b/
drivers/net/wireless/libertas/if_usb.c
@@
-19,9
+19,8
@@
#define MESSAGE_HEADER_LEN 4
static const char usbdriver_name[] = "usb8xxx";
-static u8 *default_fw_name = "usb8388.bin";
-static char *lbs_fw_name;
+static char *lbs_fw_name
= "usb8388.bin"
;
module_param_named(fw_name, lbs_fw_name, charp, 0644);
/*
@@
-1027,10
+1026,6
@@
static int if_usb_init_module(void)
lbs_deb_enter(LBS_DEB_MAIN);
- if (lbs_fw_name == NULL) {
- lbs_fw_name = default_fw_name;
- }
-
ret = usb_register(&if_usb_driver);
lbs_deb_leave_args(LBS_DEB_MAIN, "ret %d", ret);