projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8dbf3e7
)
V4L/DVB: gspca - benq: Remove useless module load/unload messages
author
Jean-François Moine
<moinejf@free.fr>
Sat, 25 Sep 2010 06:20:45 +0000
(
03:20
-0300)
committer
Mauro 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
patch
|
blob
|
history
diff --git
a/drivers/media/video/gspca/benq.c
b/drivers/media/video/gspca/benq.c
index dc25788436c771c4291d330165ce33d83ac8d0c5..ca15be058e6e6234a5f562a2be5c30553d9145e7 100644
(file)
--- a/
drivers/media/video/gspca/benq.c
+++ b/
drivers/media/video/gspca/benq.c
@@
-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);