Revert "ramips: add support for kernel 5.10"
[openwrt/openwrt.git] / target / linux / ramips / files / drivers / net / ethernet / ralink / mtk_eth_soc.c
index b6e321b78c0c7fcabecdea24d1d8e612726c57f7..f8301ad3ca7b2c7acada544831315cd9e6c90830 100644 (file)
@@ -1085,11 +1085,7 @@ poll_again:
        return rx_done;
 }
 
-#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 10, 0)
 static void fe_tx_timeout(struct net_device *dev)
-#else
-static void fe_tx_timeout(struct net_device *dev, unsigned int txqueue)
-#endif
 {
        struct fe_priv *priv = netdev_priv(dev);
        struct fe_tx_ring *ring = &priv->tx_ring;