Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 321497
b: refs/heads/master
c: b5497ee
h: refs/heads/master
i:
  321495: e463cf9
v: v3
  • Loading branch information
Thomas Meyer authored and David S. Miller committed Aug 6, 2012
1 parent ecd2a0b commit e8f6da9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 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: 47fd92f5a76eb3f5b407773766e7d7fa1a179419
refs/heads/master: b5497eeb37d7d4a5a61b91f64efedc90d1ad6fa3
4 changes: 1 addition & 3 deletions trunk/drivers/net/appletalk/cops.c
Original file line number Diff line number Diff line change
Expand Up @@ -996,9 +996,7 @@ static int __init cops_module_init(void)
printk(KERN_WARNING "%s: You shouldn't autoprobe with insmod\n",
cardname);
cops_dev = cops_probe(-1);
if (IS_ERR(cops_dev))
return PTR_ERR(cops_dev);
return 0;
return PTR_RET(cops_dev);
}

static void __exit cops_module_exit(void)
Expand Down
4 changes: 1 addition & 3 deletions trunk/drivers/net/appletalk/ltpc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1243,9 +1243,7 @@ static int __init ltpc_module_init(void)
"ltpc: Autoprobing is not recommended for modules\n");

dev_ltpc = ltpc_probe();
if (IS_ERR(dev_ltpc))
return PTR_ERR(dev_ltpc);
return 0;
return PTR_RET(dev_ltpc);
}
module_init(ltpc_module_init);
#endif
Expand Down

0 comments on commit e8f6da9

Please sign in to comment.