]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
USB: input: appletouch: fix up compiler warning
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 May 2012 22:35:56 +0000 (15:35 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 May 2012 22:35:56 +0000 (15:35 -0700)
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>
drivers/input/mouse/appletouch.c

index 38268e8ea4698dfec58208c45744f2ff0b9a0cce..e42f1fa8cdc075c1bed3094de041563fb8d2af88 100644 (file)
@@ -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) {