* [PATCH 4/4] libertas: nuke useless variable usbdriver_name and useless comments
@ 2007-11-16 18:12 Andres Salomon
0 siblings, 0 replies; only message in thread
From: Andres Salomon @ 2007-11-16 18:12 UTC (permalink / raw)
To: libertas-dev; +Cc: linux-wireless, Marcelo Tosatti, David Woodhouse, akpm
I think it was pretty obvious what fields in if_usb_driver are...
Signed-off-by: Andres Salomon <dilinger@debian.org>
---
drivers/net/wireless/libertas/if_usb.c | 8 +-------
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 e9aad16..f7bafc3 100644
--- a/drivers/net/wireless/libertas/if_usb.c
+++ b/drivers/net/wireless/libertas/if_usb.c
@@ -18,8 +18,6 @@
#define MESSAGE_HEADER_LEN 4
-static const char usbdriver_name[] = "usb8xxx";
-
static char *libertas_fw_name = "usb8388.bin";
module_param_named(fw_name, libertas_fw_name, charp, 0644);
@@ -1099,13 +1097,9 @@ static int if_usb_resume(struct usb_interface *intf)
#endif
static struct usb_driver if_usb_driver = {
- /* driver name */
- .name = usbdriver_name,
- /* probe function name */
+ .name = DRV_NAME,
.probe = if_usb_probe,
- /* disconnect function name */
.disconnect = if_usb_disconnect,
- /* device signature table */
.id_table = if_usb_table,
.suspend = if_usb_suspend,
.resume = if_usb_resume,
--
1.5.3.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2007-11-16 18:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-16 18:12 [PATCH 4/4] libertas: nuke useless variable usbdriver_name and useless comments Andres Salomon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).