aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-debug.h
diff options
context:
space:
mode:
authorPing-Ke Shih <[email protected]>2023-02-13 17:13:28 +0800
committerKalle Valo <[email protected]>2023-02-15 09:50:59 +0200
commit210871887208d1098d65b9bb597e7f9aa1c66900 (patch)
treeda8bff3d81c54db3492c3f24c5f15188c3c52bb2 /drivers/usb/cdns3/cdns3-debug.h
parent462c8db6a01160836c68e262d25566f2447148d9 (diff)
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 <[email protected]> Reported-by: Dan Carpenter <[email protected]> Link: https://lore.kernel.org/r/[email protected]/ Signed-off-by: Ping-Ke Shih <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions