mirror of
https://github.com/torvalds/linux.git
synced 2026-06-04 20:46:48 +02:00
rtlwifi: rtl8192cu: fix comparison to bool warning in hw.c
Fixes coccicheck warning: drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c:831:14-49: WARNING: Comparison to bool Signed-off-by: Zheng Bin <zhengbin13@huawei.com> Acked-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/20200918102505.16036-7-zhengbin13@huawei.com
This commit is contained in:
parent
07cc5f0345
commit
77205bc3db
|
|
@ -828,7 +828,7 @@ static int _rtl92cu_init_mac(struct ieee80211_hw *hw)
|
|||
? WMM_CHIP_B_TX_PAGE_BOUNDARY
|
||||
: WMM_CHIP_A_TX_PAGE_BOUNDARY;
|
||||
}
|
||||
if (false == rtl92c_init_llt_table(hw, boundary)) {
|
||||
if (!rtl92c_init_llt_table(hw, boundary)) {
|
||||
pr_err("Failed to init LLT Table!\n");
|
||||
return -EINVAL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user