projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad01b7d
)
plip: remove superflous return
author
Dan Carpenter
<error27@gmail.com>
Tue, 24 Aug 2010 02:01:05 +0000
(
02:01
+0000)
committer
David S. Miller
<davem@davemloft.net>
Wed, 25 Aug 2010 23:36:48 +0000
(16:36 -0700)
This return isn't reachable and it obscures the goto on the line before.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/plip.c
patch
|
blob
|
history
diff --git
a/drivers/net/plip.c
b/drivers/net/plip.c
index
ec0349e
..
7e82a82
100644
(file)
--- a/
drivers/net/plip.c
+++ b/
drivers/net/plip.c
@@
-1279,7
+1279,6
@@
static void plip_attach (struct parport *port)
if (!nl->pardev) {
printk(KERN_ERR "%s: parport_register failed\n", name);
goto err_free_dev;
- return;
}
plip_init_netdev(dev);