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
这个提交包含在:
phadiman
2020-09-03 18:31:48 +05:30
提交者 snandini
父节点 52173647db
当前提交 6510531b81
修改 3 个文件,包含 1 行新增18 行删除

查看文件

@@ -4276,7 +4276,7 @@ static void dp_pdev_deinit(struct cdp_pdev *txrx_pdev, int force)
qdf_nbuf_free(pdev->sojourn_buf);
dp_pdev_flush_pending_vdevs(pdev);
dp_tx_pdev_detach(pdev);
dp_tx_desc_flush(pdev, NULL, true);
dp_pktlogmod_exit(pdev);
dp_neighbour_peers_detach(pdev);