* remove unused variable in wacom driver
@ 2002-10-11 14:10 William Lee Irwin III
2002-10-12 4:59 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: William Lee Irwin III @ 2002-10-11 14:10 UTC (permalink / raw)
To: linux-kernel; +Cc: greg
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)))
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-10-12 4:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-11 14:10 remove unused variable in wacom driver William Lee Irwin III
2002-10-12 4:59 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox