staging: rtl8723bs: remove redundant statements
authorKaixu Xia <kaixuxia@tencent.com>
Sat, 21 Nov 2020 12:17:21 +0000 (20:17 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 23 Nov 2020 16:59:52 +0000 (17:59 +0100)
commit8a3f7b9665c8194f32afec9a7bb60e2376f896c6
treef6a70a3ab355fb5c6cbaf89325b14ea11a3f26ae
parent9822b90444000b81d450e42a04a044f077c1d0c9
staging: rtl8723bs: remove redundant statements

The bool variable is2T is true, so the if statement is redundant.
we can directly set the variable bound to 8 and remove the if
statement.

Reported-by: Tosk Robot <tencent_os_robot@tencent.com>
Signed-off-by: Kaixu Xia <kaixuxia@tencent.com>
Link: https://lore.kernel.org/r/1605961041-12875-1-git-send-email-kaixuxia@tencent.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c