diff options
Diffstat (limited to 'drivers/media/video/gspca/stv0680.c')
-rw-r--r-- | drivers/media/video/gspca/stv0680.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/media/video/gspca/stv0680.c b/drivers/media/video/gspca/stv0680.c index 8a363d5e1436..4cc1c0ad1b92 100644 --- a/drivers/media/video/gspca/stv0680.c +++ b/drivers/media/video/gspca/stv0680.c | |||
@@ -357,17 +357,11 @@ static struct usb_driver sd_driver = { | |||
357 | /* -- module insert / remove -- */ | 357 | /* -- module insert / remove -- */ |
358 | static int __init sd_mod_init(void) | 358 | static int __init sd_mod_init(void) |
359 | { | 359 | { |
360 | int ret; | 360 | return usb_register(&sd_driver); |
361 | ret = usb_register(&sd_driver); | ||
362 | if (ret < 0) | ||
363 | return ret; | ||
364 | PDEBUG(D_PROBE, "registered"); | ||
365 | return 0; | ||
366 | } | 361 | } |
367 | static void __exit sd_mod_exit(void) | 362 | static void __exit sd_mod_exit(void) |
368 | { | 363 | { |
369 | usb_deregister(&sd_driver); | 364 | usb_deregister(&sd_driver); |
370 | PDEBUG(D_PROBE, "deregistered"); | ||
371 | } | 365 | } |
372 | 366 | ||
373 | module_init(sd_mod_init); | 367 | module_init(sd_mod_init); |