diff options
Diffstat (limited to 'drivers/net/usb/asix.c')
-rw-r--r-- | drivers/net/usb/asix.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/usb/asix.c b/drivers/net/usb/asix.c index de57490103fc..e009481c606c 100644 --- a/drivers/net/usb/asix.c +++ b/drivers/net/usb/asix.c | |||
@@ -246,10 +246,11 @@ out: | |||
246 | static void asix_async_cmd_callback(struct urb *urb) | 246 | static void asix_async_cmd_callback(struct urb *urb) |
247 | { | 247 | { |
248 | struct usb_ctrlrequest *req = (struct usb_ctrlrequest *)urb->context; | 248 | struct usb_ctrlrequest *req = (struct usb_ctrlrequest *)urb->context; |
249 | int status = urb->status; | ||
249 | 250 | ||
250 | if (urb->status < 0) | 251 | if (status < 0) |
251 | printk(KERN_DEBUG "asix_async_cmd_callback() failed with %d", | 252 | printk(KERN_DEBUG "asix_async_cmd_callback() failed with %d", |
252 | urb->status); | 253 | status); |
253 | 254 | ||
254 | kfree(req); | 255 | kfree(req); |
255 | usb_free_urb(urb); | 256 | usb_free_urb(urb); |