Skip to content

staging: r8188eu: remove ternary operator

Michael Straube linux-staging lkml 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesNew
  2. v11 patch 3 repliesSuperseded

Changes in v2 from the cover letter

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

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2staging: r8188eu: remove unncessary ternary operatordrivers/staging/r8188eu/core/rtw_p2p.c drivers/staging/r8188eu/core/rtw_pwrctrl.c drivers/staging/r8188eu/core/rtw_sta_mgt.c +5 more+12 -120 replies
2/2staging: r8188eu: remove unused macros from ieee80211.hdrivers/staging/r8188eu/include/ieee80211.h+0 -180 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

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

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(-)
Signature · 1 line
2.35.1