]> git.baikalelectronics.ru Git - kernel.git/commit
rtw88: coex: remove unnecessary variable and label
authorwengjianfeng <wengjianfeng@yulong.com>
Thu, 20 May 2021 00:55:45 +0000 (08:55 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 22 Jun 2021 15:22:59 +0000 (18:22 +0300)
commit1db0a13104b0213bbf96930346a467ed8af6158e
treea894ee6dbe07179d3a420f9bd790cc508c9cb578
parent11d2b1ad5f6ebb79ec5deca53e490b7d876bff63
rtw88: coex: remove unnecessary variable and label

In some funciton, the variable ret just used as return value,and
out label just return ret,so ret and out label are unnecessary,
we should delete these and use return true/false to replace.

Signed-off-by: wengjianfeng <wengjianfeng@yulong.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210520005545.31272-1-samirweng1979@163.com
drivers/net/wireless/realtek/rtw88/coex.c