mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] staging: rtl8723bs: remove dead chip code
@ 2026-08-31  2:05 Adriano Cordova
  2026-08-31  2:05 ` [PATCH 1/2] staging: rtl8723bs: remove dead beamforming code Adriano Cordova
  2026-08-31  2:05 ` [PATCH 2/2] staging: rtl8723bs: remove unused chip-type enums and defines Adriano Cordova
  0 siblings, 2 replies; 3+ messages in thread
From: Adriano Cordova @ 2026-08-31  2:05 UTC (permalink / raw)
  To: gregkh; +Cc: linux-staging, linux-kernel, Adriano Cordova

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


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

end of thread, other threads:[~2026-08-31  2:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-31  2:05 [PATCH 0/2] staging: rtl8723bs: remove dead chip code Adriano Cordova
2026-08-31  2:05 ` [PATCH 1/2] staging: rtl8723bs: remove dead beamforming code Adriano Cordova
2026-08-31  2:05 ` [PATCH 2/2] staging: rtl8723bs: remove unused chip-type enums and defines Adriano Cordova

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

all inboxes | Powered by JetHome®