Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=798fbfec9ca1dfd656963debb14d049868d24465
Commit:     798fbfec9ca1dfd656963debb14d049868d24465
Parent:     be13f1897f76a4b395c3d572a18b2802fd521946
Author:     Andres Salomon <[EMAIL PROTECTED]>
AuthorDate: Tue Nov 20 17:44:04 2007 -0500
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Mon Jan 28 15:04:51 2008 -0800

    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: Andres Salomon <[EMAIL PROTECTED]>
    Signed-off-by: Dan Williams <[EMAIL PROTECTED]>
    Signed-off-by: John W. Linville <[EMAIL PROTECTED]>
---
 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 4d4f757..043a33d 100644
--- a/drivers/net/wireless/libertas/if_usb.c
+++ b/drivers/net/wireless/libertas/if_usb.c
@@ -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);
 
@@ -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,
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to