net: drop the weight argument from netif_napi_add
[linux-2.6-block.git] / drivers / net / ethernet / realtek / r8169_main.c
index 9c21894d051886f1b3f19873b9c16755ce1b20e5..3ec6d1319a8a9a1b0ca6cbf42c4e108405f0608d 100644 (file)
@@ -5240,7 +5240,7 @@ static int rtl_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
 
        dev->ethtool_ops = &rtl8169_ethtool_ops;
 
-       netif_napi_add(dev, &tp->napi, rtl8169_poll, NAPI_POLL_WEIGHT);
+       netif_napi_add(dev, &tp->napi, rtl8169_poll);
 
        dev->hw_features = NETIF_F_IP_CSUM | NETIF_F_RXCSUM |
                           NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_CTAG_RX;