summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorPing-Ke Shih <pkshih@realtek.com>2023-02-13 12:13:28 +0300
committerKalle Valo <kvalo@kernel.org>2023-02-15 10:50:59 +0300
commit210871887208d1098d65b9bb597e7f9aa1c66900 (patch)
treeda8bff3d81c54db3492c3f24c5f15188c3c52bb2 /tools/perf/scripts/python/exported-sql-viewer.py
parent462c8db6a01160836c68e262d25566f2447148d9 (diff)
downloadlinux-210871887208d1098d65b9bb597e7f9aa1c66900.tar.xz
wifi: rtw89: use readable return 0 in rtw89_mac_cfg_ppdu_status()
For normal (successful) flow, it must return 0. The original code uses 'return ret', and then we need to backward reference to initial value to know 'ret = 0'. Changing them to 'return 0', because it will be more readable and intuitive. This patch doesn't change logic at all. Reported-by: kernel test robot <lkp@intel.com> Reported-by: Dan Carpenter <error27@gmail.com> Link: https://lore.kernel.org/r/202302101023.ctlih5q0-lkp@intel.com/ Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/20230213091328.25481-1-pkshih@realtek.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions