summaryrefslogtreecommitdiffstats
path: root/drivers/net/cris
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-07-20 16:16:10 +0200
committerDavid S. Miller <davem@davemloft.net>2014-07-20 21:29:49 -0700
commit2db3a733127d58a9fe2dd9e68a2289c5d2dfe3c2 (patch)
tree40d51f8e0bd729295d8831ddb4a9cec245eba3e8 /drivers/net/cris
parent015435e002c6d1984962b8bef1ce38a01133e50a (diff)
downloadlinux-2db3a733127d58a9fe2dd9e68a2289c5d2dfe3c2.tar.gz
linux-2db3a733127d58a9fe2dd9e68a2289c5d2dfe3c2.tar.bz2
linux-2db3a733127d58a9fe2dd9e68a2289c5d2dfe3c2.zip
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)
case IF_PORT_AUI:
spin_unlock(&np->lock);
return -EOPNOTSUPP;
- break;
default:
printk(KERN_ERR "%s: Invalid media selected", dev->name);
spin_unlock(&np->lock);