diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2012-04-24 01:26:58 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-04-24 02:36:05 -0400 |
commit | 482d74ceb09db45b5d19fd1ae3810b38afbc0518 (patch) | |
tree | 4fb07b14f488d181c016dfa8eb756fcbf3d76693 /drivers/input | |
parent | 34604086bea11f1f4d7ff124c84dab9b89956837 (diff) |
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) | |||
1856 | if (i == ARRAY_SIZE(speeds)) { | 1856 | if (i == ARRAY_SIZE(speeds)) { |
1857 | dev_info(&intf->dev, | 1857 | dev_info(&intf->dev, |
1858 | "Aiptek tried all speeds, no sane response\n"); | 1858 | "Aiptek tried all speeds, no sane response\n"); |
1859 | goto fail2; | 1859 | goto fail3; |
1860 | } | 1860 | } |
1861 | 1861 | ||
1862 | /* Associate this driver's struct with the usb interface. | 1862 | /* Associate this driver's struct with the usb interface. |