[PATCH 0/2] staging: rtl8723bs: remove dead chip code

Adriano Cordova posted 2 patches 3 weeks, 5 days ago
drivers/staging/rtl8723bs/hal/odm.h              |  9 ---------
.../staging/rtl8723bs/hal/odm_DynamicTxPower.h   |  1 -
drivers/staging/rtl8723bs/hal/odm_precomp.h      |  1 -
drivers/staging/rtl8723bs/include/hal_phy.h      | 16 ----------------
4 files changed, 27 deletions(-)
[PATCH 0/2] staging: rtl8723bs: remove dead chip code
Posted by Adriano Cordova 3 weeks, 5 days ago
These two patches remove code in the rtl8723bs driver that is never
compiled or never referenced, with no change in behavior.

The first patch removes declarations guarded by BEAMFORMING_SUPPORT,
which is defined to 0, so they never reach the compiler. Preprocessing
the driver confirms the symbols are absent from the preprocessed output.

The second patch removes enums and defines left over from other Realtek
chips that are not referenced anywhere in the driver.

Compile-tested on x86. Rebuilding drivers/staging/rtl8723bs/ and
comparing all 55 '.o' files against the pre-change build shows every
object file is byte-for-byte identical.

Adriano Cordova <adrianox@gmail.com>

Adriano Cordova (2):
  staging: rtl8723bs: remove dead beamforming code
  staging: rtl8723bs: remove unused chip-type enums and defines

 drivers/staging/rtl8723bs/hal/odm.h              |  9 ---------
 .../staging/rtl8723bs/hal/odm_DynamicTxPower.h   |  1 -
 drivers/staging/rtl8723bs/hal/odm_precomp.h      |  1 -
 drivers/staging/rtl8723bs/include/hal_phy.h      | 16 ----------------
 4 files changed, 27 deletions(-)

-- 
2.51.0