[PATCH v2 0/2] staging: r8188eu: remove ternary operator

From: Michael Straube
Date: Tue Apr 05 2022 - 02:08:28 EST


This series removes unnecessary uses of ternary operator that
explicitly set true or false and removes unused macros from
ieee80211.h.

v2:
- Do not remove ternary operator where the condition does not evaluate
to true or false.
- Added patch that removes unused macros from ieee80211.h

Michael Straube (2):
staging: r8188eu: remove unncessary ternary operator
staging: r8188eu: remove unused macros from ieee80211.h

drivers/staging/r8188eu/core/rtw_p2p.c | 2 +-
drivers/staging/r8188eu/core/rtw_pwrctrl.c | 4 ++--
drivers/staging/r8188eu/core/rtw_sta_mgt.c | 4 ++--
drivers/staging/r8188eu/core/rtw_wlan_util.c | 2 +-
drivers/staging/r8188eu/hal/hal_com.c | 2 +-
drivers/staging/r8188eu/hal/odm_HWConfig.c | 4 ++--
drivers/staging/r8188eu/include/HalVerDef.h | 4 ++--
drivers/staging/r8188eu/include/ieee80211.h | 18 ------------------
drivers/staging/r8188eu/os_dep/osdep_service.c | 2 +-
9 files changed, 12 insertions(+), 30 deletions(-)

--
2.35.1