projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ath79: remove obsolete 5.15 kernel support
[openwrt/openwrt.git]
/
target
/
linux
/
ath79
/
files
/
drivers
/
net
/
ethernet
/
atheros
/
ag71xx
/
ag71xx_main.c
diff --git
a/target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c
b/target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c
index 8a5cd3bcde97ef6a4c79cd2952f044bb98d16b37..8132849a9ae12d13628b449701c5a27f8249f0ae 100644
(file)
--- a/
target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c
+++ b/
target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c
@@
-1698,11
+1698,7
@@
static int ag71xx_probe(struct platform_device *pdev)
break;
}
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,19,0)
netif_napi_add_weight(dev, &ag->napi, ag71xx_poll, AG71XX_NAPI_WEIGHT);
-#else
- netif_napi_add(dev, &ag->napi, ag71xx_poll, AG71XX_NAPI_WEIGHT);
-#endif
ag71xx_dump_regs(ag);