qcacmn: Remove dp_tx_pdev_detach API
dp_tx_pdev_detach API takes care of flushing tx descriptors and multicast enhancement mem cleanup dp_pdev_deinit takes care of cleaning up the above actions and dp_tx_pdev_detach is simply a redundant piece of code Hence remove dp_tx_pdev_detach API and call dp_tx_desc_flush directly from dp_pdev_deinit CRs-Fixed: 2769303 Change-Id: Ic798793e81eefc7dc905ca7552fdca13e9fddd8c
This commit is contained in:
@@ -4549,21 +4549,6 @@ QDF_STATUS dp_tx_pdev_init(struct dp_pdev *pdev)
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
/**
|
||||
* dp_tx_pdev_detach() - detach pdev from dp tx
|
||||
* @pdev: physical device instance
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS: success
|
||||
* QDF_STATUS_E_RESOURCES: Error return
|
||||
*/
|
||||
QDF_STATUS dp_tx_pdev_detach(struct dp_pdev *pdev)
|
||||
{
|
||||
/* flush TX outstanding data per pdev */
|
||||
dp_tx_desc_flush(pdev, NULL, true);
|
||||
dp_tx_me_exit(pdev);
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
#ifdef QCA_LL_TX_FLOW_CONTROL_V2
|
||||
/* Pools will be allocated dynamically */
|
||||
static QDF_STATUS dp_tx_alloc_static_pools(struct dp_soc *soc, int num_pool,
|
||||
|
Reference in New Issue
Block a user