summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorShreeya Patel <shreeya.patel23498@gmail.com>2020-03-09 01:47:03 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-03-10 10:15:23 +0100
commit9eafa2b71a10250e4dc736f2557b907cbd7ea699 (patch)
treeea46c1c286b9d3aa3ae31e4e526d0acc732a224b /drivers
parenta5e7d27e2d7d2ae090729b5d94c35c082b85dc6d (diff)
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/rtl8723bs/core/rtw_ap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8723bs/core/rtw_ap.c b/drivers/staging/rtl8723bs/core/rtw_ap.c
index 7117d16a30f9..a76e81330756 100644
--- a/drivers/staging/rtl8723bs/core/rtw_ap.c
+++ b/drivers/staging/rtl8723bs/core/rtw_ap.c
@@ -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);