Commit 9eafa2b7 authored by Shreeya Patel's avatar Shreeya Patel Committed by Greg Kroah-Hartman

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: default avatarShreeya Patel <shreeya.patel23498@gmail.com>
Link: https://lore.kernel.org/r/20200308201703.31709-1-shreeya.patel23498@gmail.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a5e7d27e
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment