Input: aiptek - adjust error-handling code label
authorJulia Lawall <Julia.Lawall@lip6.fr>
Tue, 24 Apr 2012 05:26:58 +0000 (22:26 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 24 Apr 2012 06:36:05 +0000 (23:36 -0700)
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>
drivers/input/tablet/aiptek.c

index 205d16aab441990283afd4f0068f97b106dcd198..a33d3470c47a09d27a8a32be87148bccf724d1f4 100644 (file)
@@ -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.