[PATCH v2 0/6] staging: rtl8192e: Remove enum RF_1T2R and useless cases for customer_id

From: Philipp Hortmann
Date: Sun Apr 02 2023 - 05:52:17 EST


Remove enum RF_1T2R as the code using it has always the same result.
Remove useless cases for customer_id.

Tested with rtl8192e
Transferred this patch over wlan connection of rtl8192e
---
V1->V2: Added first patch to avoid a useage of an uninitialized
variable RF_Type introduced by later patches.

Philipp Hortmann (6):
staging: rtl8192e: Remove RF_Type from
.._dm_tx_update_tssi_weak_signal
staging: rtl8192e: Remove enum RF_1T2R and RF_Type
staging: rtl8192e: Remove local variable Value and powerlevelOFDM24G
staging: rtl8192e: Remove case customer_id = RT_CID_DLINK
staging: rtl8192e: Remove case customer_id = RT_CID_819x_CAMEO, ..
staging: rtl8192e: Remove case customer_id = RT_CID_DEFAULT, ..

.../staging/rtl8192e/rtl8192e/r8192E_dev.c | 26 -------------------
drivers/staging/rtl8192e/rtl8192e/r8192E_hw.h | 7 -----
drivers/staging/rtl8192e/rtl8192e/rtl_core.h | 5 ----
drivers/staging/rtl8192e/rtl8192e/rtl_dm.c | 21 +++++----------
drivers/staging/rtl8192e/rtllib.h | 4 ---
5 files changed, 6 insertions(+), 57 deletions(-)

--
2.40.0