diff options
Diffstat (limited to 'drivers/media/video/gspca/pac207.c')
-rw-r--r-- | drivers/media/video/gspca/pac207.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/media/video/gspca/pac207.c b/drivers/media/video/gspca/pac207.c index 25671a6f3eec..8c711dfb3902 100644 --- a/drivers/media/video/gspca/pac207.c +++ b/drivers/media/video/gspca/pac207.c | |||
@@ -572,17 +572,11 @@ static struct usb_driver sd_driver = { | |||
572 | /* -- module insert / remove -- */ | 572 | /* -- module insert / remove -- */ |
573 | static int __init sd_mod_init(void) | 573 | static int __init sd_mod_init(void) |
574 | { | 574 | { |
575 | int ret; | 575 | return usb_register(&sd_driver); |
576 | ret = usb_register(&sd_driver); | ||
577 | if (ret < 0) | ||
578 | return ret; | ||
579 | PDEBUG(D_PROBE, "registered"); | ||
580 | return 0; | ||
581 | } | 576 | } |
582 | static void __exit sd_mod_exit(void) | 577 | static void __exit sd_mod_exit(void) |
583 | { | 578 | { |
584 | usb_deregister(&sd_driver); | 579 | usb_deregister(&sd_driver); |
585 | PDEBUG(D_PROBE, "deregistered"); | ||
586 | } | 580 | } |
587 | 581 | ||
588 | module_init(sd_mod_init); | 582 | module_init(sd_mod_init); |