[PATCH v2 0/6] Staging: rtl8192e: rtllib_wx codingstyle/refactor
From: Felix Schlepper
Date: Thu Jun 30 2022 - 07:30:33 EST
This series addresses some issues raised by chechpatch.pl
and some minor refactoring of rtllib_modes[].
v2:
- split multi assignment in two separate steps.
This avoids having 'fixed'='disabled', which
is silly.
- Since there is no formatting of the rtllib_modes[],
one can safely refactor this code into a array of
strings. This allows using functions like strcpy/strlen,
which is less error prone than using a
rtllib_modes.mode_size.
Felix Schlepper (6):
Staging: rtl8192e: Refactored rtllib_modes
Staging: rtl8192e: Avoid multiple assignments
Staging: rtl8192e: Remove unnecessary parentheses
Staging: rtl8192e: Added braces around else
Staging: rtl8192e: Remove unnecessary blank line
Staging: rtl8192e: Added spaces around '+'
drivers/staging/rtl8192e/rtllib_wx.c | 37 +++++++++++-----------------
1 file changed, 14 insertions(+), 23 deletions(-)
--
2.36.1