Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 219212
b: refs/heads/master
c: 8129888
h: refs/heads/master
v: v3
  • Loading branch information
Jean-François Moine authored and Mauro Carvalho Chehab committed Oct 21, 2010
1 parent d6265dc commit 1211096
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8dbf3e7c3a89bb398d69e373962a6b447d1ff3d7
refs/heads/master: 8129888a7ab2c903562d7a6e49f6884858eb55e8
9 changes: 1 addition & 8 deletions trunk/drivers/media/video/gspca/benq.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 1211096

Please sign in to comment.