Skip to contentSkip to conversation

rtlwifi: Removed unused define and code efuse_re_pg* from wifi.h

PATCH In review [email protected] 2 participants 2 messages Oct 1, 2018 – Oct 5, 2018 Realtek wireless driver (rtlwifi family)

lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

PATCH v2 1/1 rtlwifi: Removed unused define and code efuse_re_pg* from wifi.h

From: Ping-Ke Shih <[email protected]>

The following:
bool efuse_re_pg_sec1flag;
u8 efuse_re_pg_data[8];
are not referenced anywhere in the rtlwifi code.

This patch is originally created by Rick Veens <[email protected]>, and Joe Perches <[email protected]> reminded to apply it to rtlwifi.

---
v2: change author to me

---
 drivers/net/wireless/realtek/rtlwifi/wifi.h | 4 ----
 1 file changed, 4 deletions(-)
drivers/net/wireless/realtek/rtlwifi/wifi.h +0 -4
index 0f3b98c5227f..87bc21bb5e8b 100644
@@ -1905,10 +1905,6 @@ struct rtl_efuse {
 	u8 efuse_map[2][EFUSE_MAX_LOGICAL_SIZE];
 	u16 efuse_usedbytes;
 	u8 efuse_usedpercentage;
-#ifdef EFUSE_REPG_WORKAROUND
-	bool efuse_re_pg_sec1flag;
-	u8 efuse_re_pg_data[8];
-#endif
 
 	u8 autoload_failflag;
 	u8 autoload_status;
Signature · 1 line
2.15.1
#1 lore raw
Quoted 11 lines · <[email protected]> wrote:

From: Ping-Ke Shih <[email protected]>

The following:
bool efuse_re_pg_sec1flag;
u8 efuse_re_pg_data[8];
are not referenced anywhere in the rtlwifi code.

This patch is originally created by Rick Veens <[email protected]>, and Joe Perches <[email protected]> reminded to apply it to rtlwifi.

Patch applied to wireless-drivers-next.git, thanks.

9c22211e1d71 rtlwifi: Removed unused define and code efuse_re_pg* from wifi.h

Signature · 3 lines
https://patchwork.kernel.org/patch/10621717/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches