summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorKalle Valo <quic_kvalo@quicinc.com>2024-11-26 20:11:38 +0300
committerKalle Valo <quic_kvalo@quicinc.com>2024-11-29 14:17:46 +0300
commitad969bc9ee73fa9eda6223be2a7c0c6caf937d71 (patch)
treece13c2cea0a4a5d847d27da61bffd471ec7d5de8 /tools/perf/scripts/python/export-to-postgresql.py
parentaa80f12f3bedc2d73e4cc43554aee44c277cc938 (diff)
downloadlinux-ad969bc9ee73fa9eda6223be2a7c0c6caf937d71.tar.xz
wifi: ath12k: ath12k_mac_op_set_key(): fix uninitialized symbol 'ret'
Dan reported that in some cases the ret variable could be uninitialized. Fix that by removing the out label entirely and returning zero explicitly on succesful cases. Also remove the unnecessary else branches to follow more the style used in ath12k and now it's easier to see the error handling. No functional changes. Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.3.1-00173-QCAHKSWPL_SILICONZ-1 Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3 Reported-by: kernel test robot <lkp@intel.com> Reported-by: Dan Carpenter <dan.carpenter@linaro.org> Closes: https://lore.kernel.org/all/7e7afd00-ad84-4744-8d94-416bab7e7dd9@stanley.mountain/ Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com> Link: https://patch.msgid.link/20241126171139.2350704-10-kvalo@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions