linux-staging.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] staging: r8188eu: remove ternary operator
@ 2022-04-05  6:08 Michael Straube
  2022-04-05  6:08 ` [PATCH v2 1/2] staging: r8188eu: remove unncessary " Michael Straube
  2022-04-05  6:08 ` [PATCH v2 2/2] staging: r8188eu: remove unused macros from ieee80211.h Michael Straube
  0 siblings, 2 replies; 3+ messages in thread
From: Michael Straube @ 2022-04-05  6:08 UTC (permalink / raw)
  To: gregkh; +Cc: Larry.Finger, phil, linux-staging, linux-kernel, Michael Straube

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-04-05  6:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-05  6:08 [PATCH v2 0/2] staging: r8188eu: remove ternary operator Michael Straube
2022-04-05  6:08 ` [PATCH v2 1/2] staging: r8188eu: remove unncessary " Michael Straube
2022-04-05  6:08 ` [PATCH v2 2/2] staging: r8188eu: remove unused macros from ieee80211.h Michael Straube

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).