treewide: Use fallthrough pseudo-keyword
[linux-block.git] / drivers / net / ethernet / hisilicon / hns / hns_ethtool.c
index 49624acf24739a085bd75f8d548979dd63660fe4..4eb50296f6538b3bfd6bf635eb5bb2197469d18d 100644 (file)
@@ -305,7 +305,7 @@ static int __lb_setup(struct net_device *ndev,
                break;
        case MAC_LOOP_PHY_NONE:
                ret = hns_nic_config_phy_loopback(phy_dev, 0x0);
-               /* fall through */
+               fallthrough;
        case MAC_LOOP_NONE:
                if (!ret && h->dev->ops->set_loopback) {
                        if (priv->ae_handle->phy_if != PHY_INTERFACE_MODE_XGMII)