rtlwifi: Removed unused define and code efuse_re_pg* from wifi.h
authorPing-Ke Shih <pkshih@realtek.com>
Mon, 1 Oct 2018 09:25:14 +0000 (17:25 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 5 Oct 2018 08:31:52 +0000 (11:31 +0300)
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>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtlwifi/wifi.h

index 0f3b98c5227f2f40163a60fa2b12c9ba91924879..87bc21bb5e8bdae090280cd3fc3bcd14ad3dadca 100644 (file)
@@ -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;