mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
qcacmn: Set the default value for variable 'ret'
The variable 'ret' in ‘__dp_ipa_tx_buf_smmu_mapping()’ maybe used uninitialized. Set one default value for it. CRs-Fixed: 2771822 Change-Id: Ibf4bf6aa2076de84b3a47122ff4f3cae055cd0f7
This commit is contained in:
parent
78efc5e526
commit
60b35027b2
1 changed files with 1 additions and 1 deletions
|
|
@ -164,7 +164,7 @@ static QDF_STATUS __dp_ipa_tx_buf_smmu_mapping(
|
|||
bool create)
|
||||
{
|
||||
uint32_t index;
|
||||
QDF_STATUS ret;
|
||||
QDF_STATUS ret = QDF_STATUS_SUCCESS;
|
||||
uint32_t tx_buffer_cnt = soc->ipa_uc_tx_rsc.alloc_tx_buf_cnt;
|
||||
qdf_nbuf_t nbuf;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue