summaryrefslogtreecommitdiff
path: root/drivers/input
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-04 15:35:56 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-04 15:35:56 -0700
commit3b923993daaa38f1ae297a79f734c308866dd026 (patch)
tree723e2241b0d614799b757386d25231370b027eb2 /drivers/input
parent0a5ebc88c74d8029e80a72e57cbebc0b3b4e5d98 (diff)
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/mouse/appletouch.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/input/mouse/appletouch.c b/drivers/input/mouse/appletouch.c
index 38268e8ea469..e42f1fa8cdc0 100644
--- a/drivers/input/mouse/appletouch.c
+++ b/drivers/input/mouse/appletouch.c
@@ -402,7 +402,6 @@ static inline void atp_report_fingers(struct input_dev *input, int fingers)
static int atp_status_check(struct urb *urb)
{
struct atp *dev = urb->context;
- struct input_dev *idev = dev->input;
struct usb_interface *intf = dev->intf;
switch (urb->status) {