diff options
author | Julia Lawall <julia@diku.dk> | 2008-07-03 12:10:58 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2008-07-07 09:01:30 -0400 |
commit | f4bc95d7bd5d2e57d5a64b5bcd35928beb7026de (patch) | |
tree | 6337b58e0c66b1572c28381e7f4d05fcc2d17d6e /drivers/input/tablet/gtco.c | |
parent | 0e7e92fa3c55eee0047ee894b7eb8eb2362d83d9 (diff) |
Input: gtco - eliminate early return
There seems to be no reason why this error case should do less
cleaning up than the other adjacent ones, so the goto, which is
currently dead code, seems to be what is intended.
Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/tablet/gtco.c')
-rw-r--r-- | drivers/input/tablet/gtco.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/tablet/gtco.c b/drivers/input/tablet/gtco.c index 1e748e46d12e..b9b7a98bc5a5 100644 --- a/drivers/input/tablet/gtco.c +++ b/drivers/input/tablet/gtco.c | |||
@@ -863,7 +863,7 @@ static int gtco_probe(struct usb_interface *usbinterface, | |||
863 | gtco->urbinfo = usb_alloc_urb(0, GFP_KERNEL); | 863 | gtco->urbinfo = usb_alloc_urb(0, GFP_KERNEL); |
864 | if (!gtco->urbinfo) { | 864 | if (!gtco->urbinfo) { |
865 | err("Failed to allocate URB"); | 865 | err("Failed to allocate URB"); |
866 | return -ENOMEM; | 866 | error = -ENOMEM; |
867 | goto err_free_buf; | 867 | goto err_free_buf; |
868 | } | 868 | } |
869 | 869 | ||