Skip to content

Commit

Permalink
libertas: nuke useless variable usbdriver_name and useless comments
Browse files Browse the repository at this point in the history
I think it was pretty obvious what fields in if_usb_driver are...

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>
  • Loading branch information
Andres Salomon authored and David S. Miller committed Jan 28, 2008
1 parent be13f18 commit 798fbfe
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions drivers/net/wireless/libertas/if_usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@

#define MESSAGE_HEADER_LEN 4

static const char usbdriver_name[] = "usb8xxx";

static char *lbs_fw_name = "usb8388.bin";
module_param_named(fw_name, lbs_fw_name, charp, 0644);

Expand Down Expand Up @@ -998,13 +996,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,
Expand Down

0 comments on commit 798fbfe

Please sign in to comment.