diff options
Diffstat (limited to 'drivers/media/video/gspca/t613.c')
-rw-r--r-- | drivers/media/video/gspca/t613.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/media/video/gspca/t613.c b/drivers/media/video/gspca/t613.c index 3b3b983f2b9d..3818e87939ef 100644 --- a/drivers/media/video/gspca/t613.c +++ b/drivers/media/video/gspca/t613.c | |||
@@ -1444,17 +1444,11 @@ static struct usb_driver sd_driver = { | |||
1444 | /* -- module insert / remove -- */ | 1444 | /* -- module insert / remove -- */ |
1445 | static int __init sd_mod_init(void) | 1445 | static int __init sd_mod_init(void) |
1446 | { | 1446 | { |
1447 | int ret; | 1447 | return usb_register(&sd_driver); |
1448 | ret = usb_register(&sd_driver); | ||
1449 | if (ret < 0) | ||
1450 | return ret; | ||
1451 | PDEBUG(D_PROBE, "registered"); | ||
1452 | return 0; | ||
1453 | } | 1448 | } |
1454 | static void __exit sd_mod_exit(void) | 1449 | static void __exit sd_mod_exit(void) |
1455 | { | 1450 | { |
1456 | usb_deregister(&sd_driver); | 1451 | usb_deregister(&sd_driver); |
1457 | PDEBUG(D_PROBE, "deregistered"); | ||
1458 | } | 1452 | } |
1459 | 1453 | ||
1460 | module_init(sd_mod_init); | 1454 | module_init(sd_mod_init); |