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'
drivers/usb/input/wacom.c +0 -1
@@ -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 )))
Greg KH
AppliedQuoted 4 lines · William Lee Irwin III
wacom.cgenerates the following warning:
drivers/usb/input/wacom.c: In function `wacom_probe':drivers/usb/input/wacom.c:405: warning: unused variable `rep_data'
Thanks, applied.
greg k-h