Searched hist:"1 b56bed20212390432541c7a54e5a70561809293" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/net/wireless/realtek/rtlwifi/ |
H A D | core.c | diff 1b56bed20212390432541c7a54e5a70561809293 Wed Apr 29 16:09:24 CEST 2020 Jason Yan <yanaijie@huawei.com> rtlwifi: remove comparison of 0/1 to bool variable
The variable 'rtlpriv->rfkill.rfkill_state' is bool and can directly assigned to bool values.
Fix the following coccicheck warning:
drivers/net/wireless/realtek/rtlwifi/core.c:1725:14-42: WARNING: Comparison of 0/1 to bool variable
Signed-off-by: Jason Yan <yanaijie@huawei.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/20200429140924.7750-1-yanaijie@huawei.com
|