Commit c0f50574 authored by Jakub Kicinski's avatar Jakub Kicinski Committed by David S. Miller

eth: mtk: switch to netif_napi_add_tx()

netif_napi_add_tx() does not require the weight argument.
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9d542f7b
......@@ -1653,8 +1653,7 @@ static int mtk_star_probe(struct platform_device *pdev)
netif_napi_add(ndev, &priv->rx_napi, mtk_star_rx_poll,
NAPI_POLL_WEIGHT);
netif_tx_napi_add(ndev, &priv->tx_napi, mtk_star_tx_poll,
NAPI_POLL_WEIGHT);
netif_napi_add_tx(ndev, &priv->tx_napi, mtk_star_tx_poll);
return devm_register_netdev(dev, ndev);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment