Commit 3b923993 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

USB: input: appletouch: fix up compiler warning

My last patch fixing up the dev_* messages caused a compiler warning
accidentally for an unused variable.  Fix this up, as it was my fault.

Cc: Alessandro Rubini <rubini@ipvvis.unipv.it>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0a5ebc88
...@@ -402,7 +402,6 @@ static inline void atp_report_fingers(struct input_dev *input, int fingers) ...@@ -402,7 +402,6 @@ static inline void atp_report_fingers(struct input_dev *input, int fingers)
static int atp_status_check(struct urb *urb) static int atp_status_check(struct urb *urb)
{ {
struct atp *dev = urb->context; struct atp *dev = urb->context;
struct input_dev *idev = dev->input;
struct usb_interface *intf = dev->intf; struct usb_interface *intf = dev->intf;
switch (urb->status) { switch (urb->status) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment