projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kernel: remove obsolete kernel version switches
[openwrt/openwrt.git]
/
target
/
linux
/
ramips
/
files
/
drivers
/
net
/
ethernet
/
ralink
/
mtk_eth_soc.c
diff --git
a/target/linux/ramips/files/drivers/net/ethernet/ralink/mtk_eth_soc.c
b/target/linux/ramips/files/drivers/net/ethernet/ralink/mtk_eth_soc.c
index 9876a247e3a27b2939961c9c6a053d5583cb5367..b79b34893808c26149e54032515a08cd0593d5de 100644
(file)
--- a/
target/linux/ramips/files/drivers/net/ethernet/ralink/mtk_eth_soc.c
+++ b/
target/linux/ramips/files/drivers/net/ethernet/ralink/mtk_eth_soc.c
@@
-1096,11
+1096,7
@@
poll_again:
return rx_done;
}
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)
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;
{
struct fe_priv *priv = netdev_priv(dev);
struct fe_tx_ring *ring = &priv->tx_ring;