realtek: 6.6: drop netif_napi_add weight
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Mon, 19 Aug 2024 15:40:45 +0000 (11:40 -0400)
committerSander Vanheule <sander@svanheule.net>
Sat, 14 Sep 2024 18:00:22 +0000 (20:00 +0200)
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 <oliver@schinagl.nl>
Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
target/linux/realtek/files-6.6/drivers/net/ethernet/rtl838x_eth.c

index 29651c0aec0a999ccb9900ef121b207122cf353c..017364ffae1fe96dc33cb8c293e87c1eb012cc81 100644 (file)
@@ -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);