diff options
author | Javier F. Arias <jarias.linux@gmail.com> | 2019-11-05 14:14:19 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-11-07 16:14:11 +0100 |
commit | c3a12cc1ec4c9cb52a82d3691f35019816bda0a7 (patch) | |
tree | de2ae1cdaf7a7196715ada0d23d1bf2cbc315459 /drivers/staging/rtl8723bs | |
parent | a8fa78b8f49752896aa208400519555e01512e47 (diff) | |
download | linux-c3a12cc1ec4c9cb52a82d3691f35019816bda0a7.tar.gz linux-c3a12cc1ec4c9cb52a82d3691f35019816bda0a7.tar.bz2 linux-c3a12cc1ec4c9cb52a82d3691f35019816bda0a7.zip |
staging: rtl8723bs: Simplify boolean expression
Simplify expression that it's inverting a boolean value.
Issue found by Coccinelle.
Signed-off-by: Javier F. Arias <jarias.linux@gmail.com>
Link: https://lore.kernel.org/r/9799bed4370f8cc1bd6a1735721fcd91fac30e09.1572640293.git.jarias.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8723bs')
-rw-r--r-- | drivers/staging/rtl8723bs/hal/rtl8723b_dm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8723bs/hal/rtl8723b_dm.c b/drivers/staging/rtl8723bs/hal/rtl8723b_dm.c index a94462a48692..650fbedd34e8 100644 --- a/drivers/staging/rtl8723bs/hal/rtl8723b_dm.c +++ b/drivers/staging/rtl8723bs/hal/rtl8723b_dm.c @@ -189,7 +189,7 @@ void rtl8723b_HalDmWatchDog(struct adapter *Adapter) bBtDisabled = hal_btcoex_IsBtDisabled(Adapter); ODM_CmnInfoUpdate(&pHalData->odmpriv, ODM_CMNINFO_BT_ENABLED, - ((bBtDisabled == true)?false:true)); + !bBtDisabled); ODM_DMWatchdog(&pHalData->odmpriv); } |