Merge "qcacmn: Remove DP_INTR_POLL flag"

This commit is contained in:
Linux Build Service Account 2018-09-03 10:03:24 -07:00 • committed by Gerrit - the friendly Code Review server
commit 40df48b767
2 changed files with 1 additions and 9 deletions

View file

@ -1178,7 +1178,6 @@ budget_done:
return dp_budget - budget;
}
#ifdef DP_INTR_POLL_BASED
/* dp_interrupt_timer()- timer poll for interrupts
*
* @arg: SoC Handle
@ -1243,12 +1242,6 @@ static QDF_STATUS dp_soc_attach_poll(void *txrx_soc)
return QDF_STATUS_SUCCESS;
}
#else
static QDF_STATUS dp_soc_attach_poll(void *txrx_soc)
{
return -QDF_STATUS_E_NOSUPPORT;
}
#endif
static QDF_STATUS dp_soc_interrupt_attach(void *txrx_soc);
#if defined(CONFIG_MCL)

View file

@ -1478,10 +1478,9 @@ dp_rxdma_err_process(struct dp_soc *soc, uint32_t mac_id, uint32_t quota)
uint32_t work_done = 0;
uint32_t rx_bufs_used = 0;
#ifdef DP_INTR_POLL_BASED
if (!pdev)
return 0;
#endif
err_dst_srng = pdev->rxdma_err_dst_ring[mac_for_pdev].hal_srng;
if (!err_dst_srng) {