mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-18 16:44:33 +00:00
Staging: rtl8723bs: Remove comparison to true
Remove comparison to "true" from if statement to maintain the kernel coding style. Reported by checkpatch.pl Signed-off-by: Shreeya Patel <shreeya.patel23498@gmail.com> Link: https://lore.kernel.org/r/20200308201703.31709-1-shreeya.patel23498@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
a5e7d27e2d
commit
9eafa2b71a
1 changed files with 1 additions and 1 deletions
|
@ -2417,7 +2417,7 @@ void stop_ap_mode(struct adapter *padapter)
|
|||
paclnode = LIST_CONTAINOR(plist, struct rtw_wlan_acl_node, list);
|
||||
plist = get_next(plist);
|
||||
|
||||
if (paclnode->valid == true) {
|
||||
if (paclnode->valid) {
|
||||
paclnode->valid = false;
|
||||
|
||||
list_del_init(&paclnode->list);
|
||||
|
|
Loading…
Reference in a new issue