diff mbox series

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

Message ID 20181001092514.14359-1-pkshih@realtek.com (mailing list archive)
State Accepted
Commit 9c22211e1d719ade3d7a968c864a8f5e86163849
Delegated to: Kalle Valo
Headers show
Series [v2] rtlwifi: Removed unused define and code efuse_re_pg* from wifi.h | expand

Commit Message

Ping-Ke Shih Oct. 1, 2018, 9:25 a.m. UTC
From: Ping-Ke Shih <pkshih@realtek.com>

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 <rickveens92@gmail.com>,
and Joe Perches <joe@perches.com> reminded to apply it to rtlwifi.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
---
v2: change author to me
---
 drivers/net/wireless/realtek/rtlwifi/wifi.h | 4 ----
 1 file changed, 4 deletions(-)

Comments

Kalle Valo Oct. 5, 2018, 8:32 a.m. UTC | #1
<pkshih@realtek.com> wrote:

> From: Ping-Ke Shih <pkshih@realtek.com>
> 
> 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 <rickveens92@gmail.com>,
> and Joe Perches <joe@perches.com> reminded to apply it to rtlwifi.
> 
> Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>

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

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

Patch

diff --git a/drivers/net/wireless/realtek/rtlwifi/wifi.h b/drivers/net/wireless/realtek/rtlwifi/wifi.h
index 0f3b98c5227f..87bc21bb5e8b 100644
--- a/drivers/net/wireless/realtek/rtlwifi/wifi.h
+++ b/drivers/net/wireless/realtek/rtlwifi/wifi.h
@@ -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;