ixgbe: remove unnecessary break after return
authorFabian Frederick <fabf@skynet.be>
Sun, 20 Jul 2014 14:25:19 +0000 (16:25 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Jul 2014 04:30:17 +0000 (21:30 -0700)
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c
drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c

index ea1c1ab..75bcb2e 100644 (file)
@@ -460,7 +460,6 @@ static int ixgbe_dcbnl_getnumtcs(struct net_device *netdev, int tcid, u8 *num)
                        break;
                default:
                        return -EINVAL;
-                       break;
                }
        } else {
                return -EINVAL;
index a452730..94a1c07 100644 (file)
@@ -1408,7 +1408,6 @@ static int ixgbe_reg_test(struct ixgbe_adapter *adapter, u64 *data)
        default:
                *data = 1;
                return 1;
-               break;
        }
 
        /*
@@ -2866,7 +2865,6 @@ static int ixgbe_get_ts_info(struct net_device *dev,
                break;
        default:
                return ethtool_op_get_ts_info(dev, info);
-               break;
        }
        return 0;
 }