diff options
Diffstat (limited to 'drivers/usb/misc/sisusbvga/sisusb.c')
-rw-r--r-- | drivers/usb/misc/sisusbvga/sisusb.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/usb/misc/sisusbvga/sisusb.c b/drivers/usb/misc/sisusbvga/sisusb.c index 633caf643122..022dc0008f2a 100644 --- a/drivers/usb/misc/sisusbvga/sisusb.c +++ b/drivers/usb/misc/sisusbvga/sisusb.c | |||
@@ -2472,8 +2472,7 @@ sisusb_delete(struct kref *kref) | |||
2472 | if (!sisusb) | 2472 | if (!sisusb) |
2473 | return; | 2473 | return; |
2474 | 2474 | ||
2475 | if (sisusb->sisusb_dev) | 2475 | usb_put_dev(sisusb->sisusb_dev); |
2476 | usb_put_dev(sisusb->sisusb_dev); | ||
2477 | 2476 | ||
2478 | sisusb->sisusb_dev = NULL; | 2477 | sisusb->sisusb_dev = NULL; |
2479 | sisusb_free_buffers(sisusb); | 2478 | sisusb_free_buffers(sisusb); |