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