mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-18 10:42:19 -04:00
Merge "Revert "qcacld-3.0: Reset to NULL after freeing the memory"" into wlan-cld3.driver.lnx.2.0-dev
This commit is contained in:
commit
4398d84c87
1 changed files with 0 additions and 5 deletions
|
|
@ -1383,7 +1383,6 @@ free_tx_comp_base:
|
|||
ipa_uc_tx_rsc.
|
||||
tx_comp_base),
|
||||
memctx));
|
||||
pdev->ipa_uc_tx_rsc.tx_comp_ring = NULL;
|
||||
free_tx_ce_idx:
|
||||
qdf_mem_free_consistent(pdev->osdev, pdev->osdev->dev,
|
||||
4,
|
||||
|
|
@ -1393,8 +1392,6 @@ free_tx_ce_idx:
|
|||
ipa_uc_tx_rsc.
|
||||
tx_ce_idx),
|
||||
memctx));
|
||||
pdev->ipa_uc_tx_rsc.tx_ce_idx = NULL;
|
||||
|
||||
return return_code;
|
||||
}
|
||||
|
||||
|
|
@ -1419,7 +1416,6 @@ int htt_tx_ipa_uc_detach(struct htt_pdev_t *pdev)
|
|||
(&pdev->ipa_uc_tx_rsc.tx_ce_idx),
|
||||
memctx));
|
||||
}
|
||||
pdev->ipa_uc_tx_rsc.tx_ce_idx = NULL;
|
||||
|
||||
if (pdev->ipa_uc_tx_rsc.tx_comp_base.vaddr) {
|
||||
qdf_mem_free_consistent(
|
||||
|
|
@ -1432,7 +1428,6 @@ int htt_tx_ipa_uc_detach(struct htt_pdev_t *pdev)
|
|||
tx_comp_base),
|
||||
memctx));
|
||||
}
|
||||
pdev->ipa_uc_tx_rsc.tx_comp_ring = NULL;
|
||||
|
||||
/* Free each single buffer */
|
||||
htt_tx_buf_pool_free(pdev);
|
||||
|
|
|
|||
Loading…
Reference in a new issue