[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20260127012118.43037-7-ethantidmore06@gmail.com>
Date: Mon, 26 Jan 2026 19:21:16 -0600
From: Ethan Tidmore <ethantidmore06@...il.com>
To: gregkh@...uxfoundation.org
Cc: dan.carpenter@...aro.org,
straube.linux@...il.com,
hansg@...nel.org,
linux-staging@...ts.linux.dev,
linux-kernel@...r.kernel.org,
Ethan Tidmore <ethantidmore06@...il.com>
Subject: [PATCH v2 6/8] staging: rtl8723bs: remove unused variable AmplifierType_2G
The variable AmplifierType_2G is declared in struct registry_priv but
is never initialized or used within the driver. Remove it to clean up
the code and fix a CamelCase warning.
Signed-off-by: Ethan Tidmore <ethantidmore06@...il.com>
---
drivers/staging/rtl8723bs/include/drv_types.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/staging/rtl8723bs/include/drv_types.h b/drivers/staging/rtl8723bs/include/drv_types.h
index cbbdf45012c4..64a2ffd45563 100644
--- a/drivers/staging/rtl8723bs/include/drv_types.h
+++ b/drivers/staging/rtl8723bs/include/drv_types.h
@@ -160,7 +160,6 @@ struct registry_priv {
u8 reg_enable_tx_power_by_rate;
u8 reg_power_base;
u8 reg_pwr_tbl_sel;
- u8 AmplifierType_2G;
u8 bEn_RFE;
u8 RFE_Type;
u8 check_fw_ps;
--
2.52.0
Powered by blists - more mailing lists