[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1649378587.git.remckee0@gmail.com>
Date: Thu, 7 Apr 2022 20:12:49 -0500
From: Rebecca Mckeever <remckee0@...il.com>
To: outreachy@...ts.linux.dev
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-staging@...ts.linux.dev, linux-kernel@...r.kernel.org,
Rebecca Mckeever <remckee0@...il.com>
Subject: [PATCH v2 0/2] staging: rtl8192u: cleanup of ternary and if else statements
These patches replace ternary and if else statements with
more readable statements. Found with minmax coccinelle script.
---
v1 -> v2:
* Patch 1: "staging: rtl8192u: replace ternary statement with if and
* assignment"
* replaced max macro with an if statement followed by an assignment
* Patch 2: "staging: rtl8192u: use min_t/max_t macros instead of if
* else"
* changed the type argument in min_t and max_t from u8 to u32
---
Rebecca Mckeever (2):
staging: rtl8192u: replace ternary statement with if and assignment
staging: rtl8192u: use min_t/max_t macros instead of if else
drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c | 4 +++-
drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c | 13 +++++--------
2 files changed, 8 insertions(+), 9 deletions(-)
--
2.32.0
Powered by blists - more mailing lists