ath10k: remove a copy of the NAPI_POLL_WEIGHT define
[sfrench/cifs-2.6.git] / drivers / net / wireless / ath / ath10k / pci.c
index 4d4e2f91e15cfa8b491d4705246221da00b51b6f..bf1c938be7d0a2889d8181c8219142ce0d5e0232 100644 (file)
@@ -3216,7 +3216,7 @@ static void ath10k_pci_free_irq(struct ath10k *ar)
 void ath10k_pci_init_napi(struct ath10k *ar)
 {
        netif_napi_add(&ar->napi_dev, &ar->napi, ath10k_pci_napi_poll,
-                      ATH10K_NAPI_BUDGET);
+                      NAPI_POLL_WEIGHT);
 }
 
 static int ath10k_pci_init_irq(struct ath10k *ar)