diff --git a/dp/wifi3.0/dp_main.c b/dp/wifi3.0/dp_main.c index 97330fc71109..7d88b40c9002 100644 --- a/dp/wifi3.0/dp_main.c +++ b/dp/wifi3.0/dp_main.c @@ -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) diff --git a/dp/wifi3.0/dp_rx_err.c b/dp/wifi3.0/dp_rx_err.c index 2e0f03db2749..925c314b74d9 100644 --- a/dp/wifi3.0/dp_rx_err.c +++ b/dp/wifi3.0/dp_rx_err.c @@ -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) {