aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/cris
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-07-20 10:16:10 -0400
committerDavid S. Miller <davem@davemloft.net>2014-07-21 00:29:49 -0400
commit2db3a733127d58a9fe2dd9e68a2289c5d2dfe3c2 (patch)
tree40d51f8e0bd729295d8831ddb4a9cec245eba3e8 /drivers/net/cris
parent015435e002c6d1984962b8bef1ce38a01133e50a (diff)
eth_v10: remove unnecessary break after return
Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/cris')
-rw-r--r--drivers/net/cris/eth_v10.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/cris/eth_v10.c b/drivers/net/cris/eth_v10.c
index 29e272cc7a98..64c016a99af8 100644
--- a/drivers/net/cris/eth_v10.c
+++ b/drivers/net/cris/eth_v10.c
@@ -1496,7 +1496,6 @@ e100_set_config(struct net_device *dev, struct ifmap *map)
1496 case IF_PORT_AUI: 1496 case IF_PORT_AUI:
1497 spin_unlock(&np->lock); 1497 spin_unlock(&np->lock);
1498 return -EOPNOTSUPP; 1498 return -EOPNOTSUPP;
1499 break;
1500 default: 1499 default:
1501 printk(KERN_ERR "%s: Invalid media selected", dev->name); 1500 printk(KERN_ERR "%s: Invalid media selected", dev->name);
1502 spin_unlock(&np->lock); 1501 spin_unlock(&np->lock);