mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
qcacld-3.0: Initialize local variable old_credit before using it
In some platform, it reports error "old_credit is used uninitialized". Initialize old_credit before using it. Change-Id: I06351bba0abdfc5efb32406d1d245f8d8c658684 CRs-Fixed: 2495209
This commit is contained in:
parent
ecb0bcde59
commit
39e70dbcbe
1 changed files with 2 additions and 1 deletions
|
|
@ -1036,7 +1036,8 @@ void ol_tx_dump_group_credit_stats(ol_txrx_pdev_handle pdev)
|
|||
{
|
||||
uint16_t i, j, is_break = 0;
|
||||
int16_t curr_index, old_index, wrap_around;
|
||||
uint16_t curr_credit, old_credit, mem_vdevs;
|
||||
uint16_t curr_credit, mem_vdevs;
|
||||
uint16_t old_credit = 0;
|
||||
|
||||
txrx_nofl_info("Group credit stats:");
|
||||
txrx_nofl_info(" No: GrpID: Credit: Change: vdev_map");
|
||||
|
|
|
|||
Loading…
Reference in a new issue