eth_v10: remove unnecessary break after return
authorFabian Frederick <fabf@skynet.be>
Sun, 20 Jul 2014 14:16:10 +0000 (16:16 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Jul 2014 04:29:49 +0000 (21:29 -0700)
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/cris/eth_v10.c

index 29e272cc7a984f79cc3d6815b76deacb18b70abb..64c016a99af80b0bf20114b98193e4544d598630 100644 (file)
@@ -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);