ChangeSet 1.738.5.18, 2002/10/11 15:03:10-07:00, [EMAIL PROTECTED]

[PATCH] remove unused variable in wacom driver

wacom.c generates the following warning:

drivers/usb/input/wacom.c: In function `wacom_probe':
drivers/usb/input/wacom.c:405: warning: unused variable `rep_data'


diff -Nru a/drivers/usb/input/wacom.c b/drivers/usb/input/wacom.c
--- a/drivers/usb/input/wacom.c Sun Oct 13 17:09:17 2002
+++ b/drivers/usb/input/wacom.c Sun Oct 13 17:09:17 2002
@@ -402,7 +402,6 @@
        struct usb_device *dev = interface_to_usbdev(intf);
        struct usb_endpoint_descriptor *endpoint;
        struct wacom *wacom;
-       char rep_data[2] = {0x02, 0x02};
        char path[64];
 
        if (!(wacom = kmalloc(sizeof(struct wacom), GFP_KERNEL)))


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to