提交 82209adc 编写于 作者: A Andres Salomon 提交者: David S. Miller

libertas: drop useless default_fw_name variable

Signed-off-by: NAndres Salomon <dilinger@debian.org>
Signed-off-by: NDan Williams <dcbw@redhat.com>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 66bb42fd
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册