Remove redundant code "commented" out with #if 0 to remove checkpatch
warnings.
Switch to all-upper or all-lower (for function-style) case names for
macros in p80211metadef.h to silence checkpatch messages and match the
coding guidelines. Shorten names that have repeated elements. Rejoin
lines split to keep within 80 characters that now fit due to shortened
names.
Make the use of braced blocks in switch cases consistent across the
driver by always using K&R style, braces at the case level and a
single indent. Rejoin split lines that now fit within 80 characters
due to reduced indentation.
Cleanup unneeded braces on a single line if statement.
Remove the comments stating that p80211metadef.h and
p80211metastruct.h are automatically generated and should not be
edited; neither file has a mechanism for generation and both have been
manually edited and updated in version control multiple times.
Patches should be applied in order as there are some dependencies.
Tim Collier (12):
staging: wlan-ng: remove redundant code in "#if 0" blocks
staging: wlan-ng: avoid use of camel case macro names in
p80211metadef.h
staging: wlan-ng: shorten names of "DIDMIB_DOT11SMT_" macros
staging: wlan-ng: shorten names of "DIDMIB_DOT11MAC_" macros
staging: wlan-ng: shorten names of "DIDMIB_DOT11PHY_" macros
staging: wlan-ng: shorten names of "DIDMIB_LNX_" macros
staging: wlan-ng: shorten names of "DIDMIB_P2_" macros
staging: wlan-ng: formatting cleanup in cfg80211.c
staging: wlan-ng: make switch case block format consistent
staging: wlan-ng: rejoin split lines shortened by case changes
staging: wlan-ng: remove unnecessary braces from if
staging: wlan-ng: remove "autogenerated code" comments
drivers/staging/wlan-ng/cfg80211.c | 49 ++++++------
drivers/staging/wlan-ng/hfa384x_usb.c | 47 +++++------
drivers/staging/wlan-ng/p80211metadef.h | 121 ++++++++++++++---------------
drivers/staging/wlan-ng/p80211metastruct.h | 3 +-
drivers/staging/wlan-ng/p80211netdev.c | 12 +--
drivers/staging/wlan-ng/p80211req.c | 37 ++++-----
drivers/staging/wlan-ng/prism2fw.c | 37 ++++-----
drivers/staging/wlan-ng/prism2mib.c | 76 +++++++++---------
drivers/staging/wlan-ng/prism2sta.c | 86 ++++++++++----------
9 files changed, 224 insertions(+), 244 deletions(-)
--
2.11.0
_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel