Axel Lin 49cc69b678 Input: xpad - return proper error in error path
In current implementation, xpad_probe return 0 when
usb_alloc_urb failed for xpad->bulk_out and kzalloc failed for xpad->bdata.

This patch removes the initialization for error variable,
assign the error code at the place the error happens instead.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2010-11-11 22:02:11 -08:00
..
2010-08-13 12:03:24 -07:00
2008-05-20 12:17:39 -04:00
2008-05-20 12:17:39 -04:00
2008-05-20 12:17:39 -04:00
2008-05-20 12:17:39 -04:00
2008-05-20 12:17:39 -04:00
2008-05-20 12:17:39 -04:00
2008-04-15 13:26:52 -04:00