public inbox for linux-staging@lists.linux.dev
 help / color / mirror / Atom feed
* [PATCH 00/33] Staging: rtl8723bs: remove unnecessary enum names and definitions
@ 2021-03-24 12:44 Marco Cesati
  2021-03-24 12:44 ` [PATCH 01/33] Staging: rtl8723bs: remove named enums in rtw_mlme.h Marco Cesati
                   ` (33 more replies)
  0 siblings, 34 replies; 40+ messages in thread
From: Marco Cesati @ 2021-03-24 12:44 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: Hans de Goede, Larry Finger, linux-staging

The staging/rtl8723bs driver includes 82 enum definitions whose
names are not referenced in the code. Furthermore, 57 enum definitions
are useless, because the enum elements do not appear in the code.
This patchset transforms 82 'named' enums in 'anonymous' enums and
removes 57 enum definitions.


[PATCH 01/33] Staging: rtl8723bs: remove named enums in rtw_mlme.h
[PATCH 02/33] Staging: rtl8723bs: remove named enums in rtw_cmd.h
[PATCH 03/33] Staging: rtl8723bs: remove named enums in rtw_eeprom.h
[PATCH 04/33] Staging: rtl8723bs: remove named enums in hal_com.h
[PATCH 05/33] Staging: rtl8723bs: remove named enums in rtw_recv.h
[PATCH 06/33] Staging: rtl8723bs: remove named enums in drv_types.h
[PATCH 07/33] Staging: rtl8723bs: remove named enums in rtw_ht.h
[PATCH 08/33] Staging: rtl8723bs: remove named enums in wlan_bssdef.h
[PATCH 09/33] Staging: rtl8723bs: remove named enums in rtw_mp.h
[PATCH 10/33] Staging: rtl8723bs: remove named enums in osdep_service.h
[PATCH 11/33] Staging: rtl8723bs: remove named enums in hal_intf.h
[PATCH 12/33] Staging: rtl8723bs: remove named enums in rtw_pwrctrl.h
[PATCH 13/33] Staging: rtl8723bs: remove named enums in rtl8723b_cmd.h
[PATCH 14/33] Staging: rtl8723bs: remove named enums in hal_com_h2c.h
[PATCH 15/33] Staging: rtl8723bs: remove named enums in rtw_wifi_regd.h
[PATCH 16/33] Staging: rtl8723bs: remove named enums in wifi.h
[PATCH 17/33] Staging: rtl8723bs: remove named enums in rtl8723b_hal.h
[PATCH 18/33] Staging: rtl8723bs: remove named enums in hal_phy.h
[PATCH 19/33] Staging: rtl8723bs: remove named enums in rtw_mlme_ext.h
[PATCH 20/33] Staging: rtl8723bs: remove named enums in rtw_xmit.h
[PATCH 21/33] Staging: rtl8723bs: remove named enums in rtw_rf.h
[PATCH 22/33] Staging: rtl8723bs: remove named enums in HalPwrSeqCmd.h
[PATCH 23/33] Staging: rtl8723bs: remove named enums in hal_com_phycfg.h
[PATCH 24/33] Staging: rtl8723bs: remove named enums in ieee80211.h
[PATCH 25/33] Staging: rtl8723bs: remove named enums in rtw_efuse.h
[PATCH 26/33] Staging: rtl8723bs: remove named enums in odm_interface.h
[PATCH 27/33] Staging: rtl8723bs: remove named enums in HalBtcOutSrc.h
[PATCH 28/33] Staging: rtl8723bs: remove named enums in HalBtc8723b1Ant.h
[PATCH 29/33] Staging: rtl8723bs: remove named enums in odm_types.h
[PATCH 30/33] Staging: rtl8723bs: remove named enums in odm_DIG.h
[PATCH 31/33] Staging: rtl8723bs: remove named enums in HalPhyRf.h
[PATCH 32/33] Staging: rtl8723bs: remove named enums in odm.h
[PATCH 33/33] Staging: rtl8723bs: remove named enums in HalBtc8723b2Ant.h

 .../staging/rtl8723bs/hal/HalBtc8723b1Ant.h   |   8 +-
 .../staging/rtl8723bs/hal/HalBtc8723b2Ant.h   |   6 +-
 drivers/staging/rtl8723bs/hal/HalBtcOutSrc.h  |  70 +++-----
 drivers/staging/rtl8723bs/hal/HalPhyRf.h      |   5 -
 drivers/staging/rtl8723bs/hal/odm.h           | 150 ++----------------
 drivers/staging/rtl8723bs/hal/odm_DIG.h       |  16 --
 drivers/staging/rtl8723bs/hal/odm_interface.h |   9 --
 drivers/staging/rtl8723bs/hal/odm_types.h     |  41 -----
 .../staging/rtl8723bs/include/HalPwrSeqCmd.h  |   2 +-
 drivers/staging/rtl8723bs/include/drv_types.h |  19 +--
 drivers/staging/rtl8723bs/include/hal_com.h   |   4 -
 .../staging/rtl8723bs/include/hal_com_h2c.h   |  60 -------
 .../rtl8723bs/include/hal_com_phycfg.h        |   4 +-
 drivers/staging/rtl8723bs/include/hal_intf.h  |  26 +--
 drivers/staging/rtl8723bs/include/hal_phy.h   |  44 +----
 drivers/staging/rtl8723bs/include/ieee80211.h |  89 +----------
 .../staging/rtl8723bs/include/osdep_service.h |  25 ---
 .../staging/rtl8723bs/include/rtl8723b_cmd.h  |   2 +-
 .../staging/rtl8723bs/include/rtl8723b_hal.h  |   4 +-
 drivers/staging/rtl8723bs/include/rtw_cmd.h   |   8 +-
 .../staging/rtl8723bs/include/rtw_eeprom.h    |   2 +-
 drivers/staging/rtl8723bs/include/rtw_efuse.h |   2 +-
 drivers/staging/rtl8723bs/include/rtw_ht.h    |   6 +-
 drivers/staging/rtl8723bs/include/rtw_mlme.h  |  16 +-
 .../staging/rtl8723bs/include/rtw_mlme_ext.h  |  24 +--
 drivers/staging/rtl8723bs/include/rtw_mp.h    |  98 ------------
 .../staging/rtl8723bs/include/rtw_pwrctrl.h   |   5 +-
 drivers/staging/rtl8723bs/include/rtw_recv.h  |   2 +-
 drivers/staging/rtl8723bs/include/rtw_rf.h    |  32 +---
 .../staging/rtl8723bs/include/rtw_wifi_regd.h |   7 -
 drivers/staging/rtl8723bs/include/rtw_xmit.h  |   7 -
 drivers/staging/rtl8723bs/include/wifi.h      |  28 +---
 .../staging/rtl8723bs/include/wlan_bssdef.h   |  13 +-
 33 files changed, 82 insertions(+), 752 deletions(-)

-- 
2.30.2


^ permalink raw reply	[flat|nested] 40+ messages in thread

end of thread, other threads:[~2021-03-26 16:19 UTC | newest]

Thread overview: 40+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-24 12:44 [PATCH 00/33] Staging: rtl8723bs: remove unnecessary enum names and definitions Marco Cesati
2021-03-24 12:44 ` [PATCH 01/33] Staging: rtl8723bs: remove named enums in rtw_mlme.h Marco Cesati
2021-03-24 13:42   ` Dan Carpenter
2021-03-24 15:01     ` Marco Cesati
2021-03-24 12:44 ` [PATCH 02/33] Staging: rtl8723bs: remove named enums in rtw_cmd.h Marco Cesati
2021-03-24 12:44 ` [PATCH 03/33] Staging: rtl8723bs: remove named enums in rtw_eeprom.h Marco Cesati
2021-03-24 12:44 ` [PATCH 04/33] Staging: rtl8723bs: remove named enums in hal_com.h Marco Cesati
2021-03-24 12:44 ` [PATCH 05/33] Staging: rtl8723bs: remove named enums in rtw_recv.h Marco Cesati
2021-03-24 12:44 ` [PATCH 06/33] Staging: rtl8723bs: remove named enums in drv_types.h Marco Cesati
2021-03-24 12:44 ` [PATCH 07/33] Staging: rtl8723bs: remove named enums in rtw_ht.h Marco Cesati
2021-03-24 12:44 ` [PATCH 08/33] Staging: rtl8723bs: remove named enums in wlan_bssdef.h Marco Cesati
2021-03-24 12:44 ` [PATCH 09/33] Staging: rtl8723bs: remove named enums in rtw_mp.h Marco Cesati
2021-03-24 12:44 ` [PATCH 10/33] Staging: rtl8723bs: remove named enums in osdep_service.h Marco Cesati
2021-03-24 12:44 ` [PATCH 11/33] Staging: rtl8723bs: remove named enums in hal_intf.h Marco Cesati
2021-03-24 12:44 ` [PATCH 12/33] Staging: rtl8723bs: remove named enums in rtw_pwrctrl.h Marco Cesati
2021-03-24 12:44 ` [PATCH 13/33] Staging: rtl8723bs: remove named enums in rtl8723b_cmd.h Marco Cesati
2021-03-24 12:44 ` [PATCH 14/33] Staging: rtl8723bs: remove named enums in hal_com_h2c.h Marco Cesati
2021-03-24 12:44 ` [PATCH 15/33] Staging: rtl8723bs: remove named enums in rtw_wifi_regd.h Marco Cesati
2021-03-24 12:44 ` [PATCH 16/33] Staging: rtl8723bs: remove named enums in wifi.h Marco Cesati
2021-03-24 12:44 ` [PATCH 17/33] Staging: rtl8723bs: remove named enums in rtl8723b_hal.h Marco Cesati
2021-03-24 12:44 ` [PATCH 18/33] Staging: rtl8723bs: remove named enums in hal_phy.h Marco Cesati
2021-03-24 12:44 ` [PATCH 19/33] Staging: rtl8723bs: remove named enums in rtw_mlme_ext.h Marco Cesati
2021-03-24 12:44 ` [PATCH 20/33] Staging: rtl8723bs: remove named enums in rtw_xmit.h Marco Cesati
2021-03-24 12:44 ` [PATCH 21/33] Staging: rtl8723bs: remove named enums in rtw_rf.h Marco Cesati
2021-03-24 12:44 ` [PATCH 22/33] Staging: rtl8723bs: remove named enums in HalPwrSeqCmd.h Marco Cesati
2021-03-24 12:44 ` [PATCH 23/33] Staging: rtl8723bs: remove named enums in hal_com_phycfg.h Marco Cesati
2021-03-24 12:44 ` [PATCH 24/33] Staging: rtl8723bs: remove named enums in ieee80211.h Marco Cesati
2021-03-24 12:44 ` [PATCH 25/33] Staging: rtl8723bs: remove named enums in rtw_efuse.h Marco Cesati
2021-03-24 12:44 ` [PATCH 26/33] Staging: rtl8723bs: remove named enums in odm_interface.h Marco Cesati
2021-03-24 12:44 ` [PATCH 27/33] Staging: rtl8723bs: remove named enums in HalBtcOutSrc.h Marco Cesati
2021-03-24 12:44 ` [PATCH 28/33] Staging: rtl8723bs: remove named enums in HalBtc8723b1Ant.h Marco Cesati
2021-03-24 12:44 ` [PATCH 29/33] Staging: rtl8723bs: remove named enums in odm_types.h Marco Cesati
2021-03-24 12:44 ` [PATCH 30/33] Staging: rtl8723bs: remove named enums in odm_DIG.h Marco Cesati
2021-03-24 12:44 ` [PATCH 31/33] Staging: rtl8723bs: remove named enums in HalPhyRf.h Marco Cesati
2021-03-24 12:44 ` [PATCH 32/33] Staging: rtl8723bs: remove named enums in odm.h Marco Cesati
2021-03-24 12:44 ` [PATCH 33/33] Staging: rtl8723bs: remove named enums in HalBtc8723b2Ant.h Marco Cesati
2021-03-26 14:04 ` [PATCH 00/33] Staging: rtl8723bs: remove unnecessary enum names and definitions Greg Kroah-Hartman
2021-03-26 15:37   ` Marco Cesati
2021-03-26 16:09     ` Dan Carpenter
2021-03-26 16:19       ` Greg Kroah-Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox