From 211925d05465897cac963d6050e066bf5f7a1292 Mon Sep 17 00:00:00 2001 From: Markus Stockhausen Date: Mon, 19 Aug 2024 11:40:45 -0400 Subject: [PATCH] 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 --- .../linux/realtek/files-6.6/drivers/net/ethernet/rtl838x_eth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.30.2