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:
parent
a5420c22b7
commit
211925d054
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue