remove unused variable in wacom driver

From: William Lee Irwin III (wli@holomorphy.com)
Date: Fri Oct 11 2002 - 09:10:01 EST


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'

--- akpm-2.5.41-3/drivers/usb/input/wacom.c 2002-10-11 06:09:32.000000000 -0700
+++ wli-2.5.41-3/drivers/usb/input/wacom.c 2002-10-11 06:52:36.000000000 -0700
@@ -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)))
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Oct 15 2002 - 22:00:41 EST