staging: rtl8723bs: Delete two redundant condition branches
authorZhen Lei <thunder.leizhen@huawei.com>
Mon, 10 May 2021 08:49:01 +0000 (16:49 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 May 2021 12:36:35 +0000 (14:36 +0200)
commit1cd3acd4e9cf7a74ede532eadd71d7d6e9d27987
tree569766d1d18398cef207d9f13be3d638fc669071
parent1b11e893eda0907fc9b28696271e2d9c4337e42d
staging: rtl8723bs: Delete two redundant condition branches

The statement of the "if (check_fwstate(pmlmepriv, WIFI_AP_STATE))" branch
is the same as the "else" branch. Delete it to simplify code.

No functional change.

Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Link: https://lore.kernel.org/r/20210510084901.3421-1-thunder.leizhen@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/os_dep/os_intfs.c