Commit 8129888a authored by Jean-François Moine's avatar Jean-François Moine Committed by Mauro Carvalho Chehab

V4L/DVB: gspca - benq: Remove useless module load/unload messages

Signed-off-by: default avatarJean-François Moine <moinejf@free.fr>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 8dbf3e7c
...@@ -303,18 +303,11 @@ static struct usb_driver sd_driver = { ...@@ -303,18 +303,11 @@ static struct usb_driver sd_driver = {
/* -- module insert / remove -- */ /* -- module insert / remove -- */
static int __init sd_mod_init(void) static int __init sd_mod_init(void)
{ {
int ret; return usb_register(&sd_driver);
ret = usb_register(&sd_driver);
if (ret < 0)
return ret;
info("registered");
return 0;
} }
static void __exit sd_mod_exit(void) static void __exit sd_mod_exit(void)
{ {
usb_deregister(&sd_driver); usb_deregister(&sd_driver);
info("deregistered");
} }
module_init(sd_mod_init); module_init(sd_mod_init);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment