提交 798fbfec 编写于 作者: A Andres Salomon 提交者: David S. Miller

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: NAndres Salomon <dilinger@debian.org>
Signed-off-by: NDan Williams <dcbw@redhat.com>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 be13f189
...@@ -17,8 +17,6 @@ ...@@ -17,8 +17,6 @@
#define MESSAGE_HEADER_LEN 4 #define MESSAGE_HEADER_LEN 4
static const char usbdriver_name[] = "usb8xxx";
static char *lbs_fw_name = "usb8388.bin"; static char *lbs_fw_name = "usb8388.bin";
module_param_named(fw_name, lbs_fw_name, charp, 0644); module_param_named(fw_name, lbs_fw_name, charp, 0644);
...@@ -998,13 +996,9 @@ static int if_usb_resume(struct usb_interface *intf) ...@@ -998,13 +996,9 @@ static int if_usb_resume(struct usb_interface *intf)
#endif #endif
static struct usb_driver if_usb_driver = { static struct usb_driver if_usb_driver = {
/* driver name */ .name = DRV_NAME,
.name = usbdriver_name,
/* probe function name */
.probe = if_usb_probe, .probe = if_usb_probe,
/* disconnect function name */
.disconnect = if_usb_disconnect, .disconnect = if_usb_disconnect,
/* device signature table */
.id_table = if_usb_table, .id_table = if_usb_table,
.suspend = if_usb_suspend, .suspend = if_usb_suspend,
.resume = if_usb_resume, .resume = if_usb_resume,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册