lkml.org 
[lkml]   [2021]   [Mar]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 00/20] fix checkpatch error on macros
Date
this patchset fixes, where possible, some checkpatch errors on macros.
Delete unused macros and some unused struct fields tied
to removed macros.

Changes in v2:
- deleted unused macros
- ignored following checkpatch issues on macro:
* issues requiring to add parentheses to macro
expanding in args of a function
* issues requiring to add parentheses to
very complex and unreadable macro

Fabio Aiuto (20):
staging: rtl8723bs: remove unused macros in include/hal_com.h
staging: rtl8723bs: put parentheses on macro with complex values in
include/hal_com.h
staging: rtl8723bs: added spaces around operators in a macro in
include/hal_com.h
staging: rtl8723bs: remove unused macros in include/hal_com_reg.h
staging: rtl8723bs: remove unused macros in include/hal_data.h
staging: rtl8723bs: put parentheses on macros with complex values in
include/hal_data.h
staging: rtl8723bs: add spaces around operators in include/hal_data.h
staging: rtl8723bs: remove unused macros in include/hal_phy.h
staging: rtl8723bs: put parentheses on macros with complex values in
include/rtw_debug.h
staging: rtl8723bs: remove unused macro in include/rtw_pwrctrl.h
staging: rtl8723bs: remove unused field in rereg_nd_name_data struct
staging: rtl8723bs: remove commented code line in os_dep/ioctl_linux.c
staging: rtl8723bs: put parentheses on macros with complex values in
include/rtw_pwrctrl.h
staging: rtl8723bs: add spaces around operator in
include/rtw_pwrctrl.h
staging: rtl8723bs: remove unused macros in include/wifi.h
staging: rtl8723bs: put parentheses on macros with complex values in
include/wifi.h
staging: rtl8723bs: remove macros updating unused fields in struct
security_priv
staging: rtl8723bs: remove unused fields in struct security_priv
staging: rtl8723bs: include macro in a do - while loop in
core/rtw_security.c
staging: rtl8723bs: remove unused macros in include/drv_types.c

drivers/staging/rtl8723bs/core/rtw_security.c | 78 ++-----------------
drivers/staging/rtl8723bs/include/drv_types.h | 6 --
drivers/staging/rtl8723bs/include/hal_com.h | 6 +-
.../staging/rtl8723bs/include/hal_com_reg.h | 8 --
drivers/staging/rtl8723bs/include/hal_data.h | 9 +--
drivers/staging/rtl8723bs/include/hal_phy.h | 11 ---
drivers/staging/rtl8723bs/include/rtw_debug.h | 28 +++----
.../staging/rtl8723bs/include/rtw_pwrctrl.h | 7 +-
.../staging/rtl8723bs/include/rtw_security.h | 23 ------
drivers/staging/rtl8723bs/include/wifi.h | 48 ++++--------
.../staging/rtl8723bs/os_dep/ioctl_linux.c | 1 -
11 files changed, 39 insertions(+), 186 deletions(-)

--
2.20.1

\
 
 \ /
  Last update: 2021-03-27 15:26    [W:0.121 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site