From: Markus Stockhausen Date: Mon, 19 Aug 2024 15:40:45 +0000 (-0400) Subject: realtek: 6.6: drop netif_napi_add weight X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=211925d05465897cac963d6050e066bf5f7a1292;p=openwrt%2Fstaging%2Fthess.git realtek: 6.6: drop netif_napi_add weight We no longer are required to pass the weight to netif_napi_add. See commit b48b89f9c189 ("net: drop the weight argument from netif_napi_add"). Signed-off-by: Olliver Schinagl Signed-off-by: Markus Stockhausen --- diff --git a/target/linux/realtek/files-6.6/drivers/net/ethernet/rtl838x_eth.c b/target/linux/realtek/files-6.6/drivers/net/ethernet/rtl838x_eth.c index 29651c0aec..017364ffae 100644 --- a/target/linux/realtek/files-6.6/drivers/net/ethernet/rtl838x_eth.c +++ b/target/linux/realtek/files-6.6/drivers/net/ethernet/rtl838x_eth.c @@ -2605,7 +2605,7 @@ static int __init rtl838x_eth_probe(struct platform_device *pdev) for (int i = 0; i < priv->rxrings; i++) { priv->rx_qs[i].id = i; priv->rx_qs[i].priv = priv; - netif_napi_add(dev, &priv->rx_qs[i].napi, rtl838x_poll_rx, 64); + netif_napi_add(dev, &priv->rx_qs[i].napi, rtl838x_poll_rx); } platform_set_drvdata(pdev, dev);