diff options
author | Colin Ian King <colin.king@canonical.com> | 2021-10-15 16:21:13 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2021-10-18 15:31:24 +0300 |
commit | f7e7e440550b0b176df3d2ea3e76106bc89915d9 (patch) | |
tree | c36654a63a25b113272c8750a911f465242ee6d4 /tools/perf/scripts/python/stackcollapse.py | |
parent | c51ed74093d45af2a25af7f26dd8d0532f7aec3e (diff) |
rtw89: Remove redundant check of ret after call to rtw89_mac_enable_bb_rf
The function rtw89_mac_enable_bb_rf is a void return type, so there is
no return error code to ret, so the following check for an error in ret
is redundant dead code and can be removed.
Addresses-Coverity: ("Logically dead code")
Fixes: e3ec7017f6a2 ("rtw89: add Realtek 802.11ax driver")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20211015152113.33179-1-colin.king@canonical.com
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions