Skip to content

Commit

Permalink
Input: aiptek - adjust error-handling code label
Browse files Browse the repository at this point in the history
At the point of this error-handling code, aiptek->urb has been allocated,
and it does not appear to be less necessary to free it here than in the
error-handling code just below.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
  • Loading branch information
Julia Lawall authored and Dmitry Torokhov committed Apr 24, 2012
1 parent 3460408 commit 482d74c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/input/tablet/aiptek.c
Original file line number Diff line number Diff line change
Expand Up @@ -1856,7 +1856,7 @@ aiptek_probe(struct usb_interface *intf, const struct usb_device_id *id)
if (i == ARRAY_SIZE(speeds)) {
dev_info(&intf->dev,
"Aiptek tried all speeds, no sane response\n");
goto fail2;
goto fail3;
}

/* Associate this driver's struct with the usb interface.
Expand Down

0 comments on commit 482d74c

Please sign in to comment.