staging: r8188eu: remove unncessary ternary operator
authorMichael Straube <straube.linux@gmail.com>
Tue, 5 Apr 2022 06:08:12 +0000 (08:08 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Apr 2022 14:10:32 +0000 (16:10 +0200)
commit7893ce1e63fc460e46fc6ddebe6d909142d5e83f
treef6996b017969a4b700bb2793d990bcda26db8ea1
parentfc39b7845a30b022fc944e9aab132119427c3905
staging: r8188eu: remove unncessary ternary operator

There are some uses of ternary operator where it explicitly sets
true or false but the condition already evaluates to true or false.
In this cases the ternary operator is redundant and can be removed.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20220405060813.8448-2-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_p2p.c
drivers/staging/r8188eu/core/rtw_pwrctrl.c
drivers/staging/r8188eu/core/rtw_sta_mgt.c
drivers/staging/r8188eu/core/rtw_wlan_util.c
drivers/staging/r8188eu/hal/hal_com.c
drivers/staging/r8188eu/hal/odm_HWConfig.c
drivers/staging/r8188eu/include/HalVerDef.h
drivers/staging/r8188eu/os_dep/osdep_service.c