diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2012-04-24 07:26:58 +0200 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-04-24 08:36:05 +0200 |
commit | 482d74ceb09db45b5d19fd1ae3810b38afbc0518 (patch) | |
tree | 4fb07b14f488d181c016dfa8eb756fcbf3d76693 /drivers/input | |
parent | Input: lpc32xx_ts - fix device tree compatible string (diff) | |
download | linux-482d74ceb09db45b5d19fd1ae3810b38afbc0518.tar.xz linux-482d74ceb09db45b5d19fd1ae3810b38afbc0518.zip |
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')
-rw-r--r-- | drivers/input/tablet/aiptek.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/tablet/aiptek.c b/drivers/input/tablet/aiptek.c index 205d16aab441..a33d3470c47a 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. |