Skip to content

Commit

Permalink
USB: input: appletouch: fix up compiler warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Greg Kroah-Hartman committed May 4, 2012
1 parent 0a5ebc8 commit 3b92399
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/input/mouse/appletouch.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 3b92399

Please sign in to comment.