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>
This commit is contained in:
Julia Lawall 2012-04-23 22:26:58 -07:00 committed by Dmitry Torokhov
parent 34604086be
commit 482d74ceb0
1 changed files with 1 additions and 1 deletions

View File

@ -1856,7 +1856,7 @@ aiptek_probe(struct usb_interface *intf, const struct usb_device_id *id)
if (i == ARRAY_SIZE(speeds)) { if (i == ARRAY_SIZE(speeds)) {
dev_info(&intf->dev, dev_info(&intf->dev,
"Aiptek tried all speeds, no sane response\n"); "Aiptek tried all speeds, no sane response\n");
goto fail2; goto fail3;
} }
/* Associate this driver's struct with the usb interface. /* Associate this driver's struct with the usb interface.