Skip to contentSkip to conversation

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

PATCH Superseded [email protected] 2 participants 3 messages Oct 1, 2018 Realtek wireless driver (rtlwifi family)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

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

From: Rick Veens <[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.

---
 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]> writes:

From: Rick Veens <[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.

Rick's Signed-off-by is missing. Ping, either you need to mark yourself as author (which IMHO is correct as you wrote this patch anyway, Rick wrote it for the other driver) or Rick needs to give his s-o-b.

Signature · 1 line
Kalle Valo
author maintainer
#2 lore raw
Quoted 9 lines · Kalle Valo
Quoted 7 lines · <[email protected]> writes:

From: Rick Veens <[email protected]>

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

Quoted 9 lines
Quoted 4 lines

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

Rick's Signed-off-by is missing. Ping, either you need to mark yourself as author (which IMHO is correct as you wrote this patch anyway, Rick wrote it for the other driver) or Rick needs to give his s-o-b.

Will send v2.
Thanks

--
PK