From: Michael Straube <straube.linux@gmail.com>
To: gregkh@linuxfoundation.org
Cc: Larry.Finger@lwfinger.net, phil@philpotter.co.uk,
linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org,
Michael Straube <straube.linux@gmail.com>
Subject: [PATCH v2 0/2] staging: r8188eu: remove ternary operator
Date: Tue, 5 Apr 2022 08:08:11 +0200 [thread overview]
Message-ID: <20220405060813.8448-1-straube.linux@gmail.com> (raw)
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
next reply other threads:[~2022-04-05 6:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-05 6:08 Michael Straube [this message]
2022-04-05 6:08 ` [PATCH v2 1/2] staging: r8188eu: remove unncessary ternary operator Michael Straube
2022-04-05 6:08 ` [PATCH v2 2/2] staging: r8188eu: remove unused macros from ieee80211.h Michael Straube
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220405060813.8448-1-straube.linux@gmail.com \
--to=straube.linux@gmail.com \
--cc=Larry.Finger@lwfinger.net \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
--cc=phil@philpotter.co.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox