summaryrefslogtreecommitdiff
path: root/drivers/input/tablet
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@lip6.fr>2012-04-24 05:26:58 (GMT)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2012-04-24 06:36:05 (GMT)
commit482d74ceb09db45b5d19fd1ae3810b38afbc0518 (patch)
tree4fb07b14f488d181c016dfa8eb756fcbf3d76693 /drivers/input/tablet
parent34604086bea11f1f4d7ff124c84dab9b89956837 (diff)
downloadlinux-482d74ceb09db45b5d19fd1ae3810b38afbc0518.tar.xz
Input: aiptek - adjust error-handling code label
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>
Diffstat (limited to 'drivers/input/tablet')
-rw-r--r--drivers/input/tablet/aiptek.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/tablet/aiptek.c b/drivers/input/tablet/aiptek.c
index 205d16a..a33d347 100644
--- a/drivers/input/tablet/aiptek.c
+++ b/drivers/input/tablet/aiptek.c
@@ -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.