net: drop the weight argument from netif_napi_add
[linux-2.6-block.git] / drivers / net / ethernet / hisilicon / hix5hd2_gmac.c
index d7e62eca050f461080f2b5ea081991160499b976..ffcf797dfa90291ea2ee79925a207f2be37bcc64 100644 (file)
@@ -1243,7 +1243,7 @@ static int hix5hd2_dev_probe(struct platform_device *pdev)
        if (ret)
                goto out_phy_node;
 
-       netif_napi_add(ndev, &priv->napi, hix5hd2_poll, NAPI_POLL_WEIGHT);
+       netif_napi_add(ndev, &priv->napi, hix5hd2_poll);
 
        if (HAS_CAP_TSO(priv->hw_cap)) {
                ret = hix5hd2_init_sg_desc_queue(priv);