V4L/DVB: gspca - benq: Remove useless module load/unload messages
authorJean-François Moine <moinejf@free.fr>
Sat, 25 Sep 2010 06:20:45 +0000 (03:20 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Oct 2010 03:06:18 +0000 (01:06 -0200)
Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/benq.c

index dc25788436c771c4291d330165ce33d83ac8d0c5..ca15be058e6e6234a5f562a2be5c30553d9145e7 100644 (file)
@@ -303,18 +303,11 @@ static struct usb_driver sd_driver = {
 /* -- module insert / remove -- */
 static int __init sd_mod_init(void)
 {
-       int ret;
-
-       ret = usb_register(&sd_driver);
-       if (ret < 0)
-               return ret;
-       info("registered");
-       return 0;
+       return usb_register(&sd_driver);
 }
 static void __exit sd_mod_exit(void)
 {
        usb_deregister(&sd_driver);
-       info("deregistered");
 }
 
 module_init(sd_mod_init);