summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorgaurank kathpalia <gkathpal@codeaurora.org>2018-05-02 12:30:52 +0530
committernshrivas <nshrivas@codeaurora.org>2018-05-07 06:26:37 -0700
commit39c127849fedefa905037f2cf511bbb356bfbec7 (patch)
treeeb1ffa513c9b2e24394c3ab037f9066d1fb7c850 /tools
parent5e96d5a7eae5e1d77e09c3cb12d9e180c430b5ec (diff)
qcacld-3.0: Remove dead code from wma_tx_packet
In the API wma_tx_packet, host assigns downld_comp_required to true/false according to tx_frm_download_comp_cb, is_high_latency, tx_frm_ota_comp_cb, all the three conditions to be true. Also the host checks tx_frm_download_comp_cb, and assigns tx_frm_index according to downld_comp_required, but in the else case when tx_frm_download_comp_cb is false, the check of downld_comp_required is void, as the downld_comp_required cannot be true if prior tx_frm_download_comp_cb is false, so the code in the else part which checks tx_frm_download_comp_cb and assigns tx_frm_index is dead, and in any case cannot be executed. Fix is to remove the check of downld_comp_required in the else case. Change-Id: If1a376099234d541d508f18cee075dd0f1603294 CRs-Fixed: 2233558
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions