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 <oliver@schinagl.nl>
Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
This commit is contained in:
Markus Stockhausen 2024-08-19 11:40:45 -04:00 committed by Sander Vanheule
parent a5420c22b7
commit 211925d054
1 changed files with 1 additions and 1 deletions

View 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);