Re: [PATCH] staging: rtlwifi: Removed unused define and code efuse_re_pg* from wifi.h

From: Joe Perches
Date: Sun Sep 30 2018 - 14:35:09 EST


On Sun, 2018-09-30 at 20:29 +0200, Rick Veens wrote:
> The following:
> bool efuse_re_pg_sec1flag;
> u8 efuse_re_pg_data[8];
> are not referenced anywhere in the rtlwifi code.
>
> Signed-off-by: Rick Veens <rickveens92@xxxxxxxxx>
> ---
> drivers/staging/rtlwifi/wifi.h | 4 ----

Presumably the equivalent uses in
drivers/net/wireless/realtek/rtlwifi/wifi.h
should be removed as well.

> diff --git a/drivers/staging/rtlwifi/wifi.h b/drivers/staging/rtlwifi/wifi.h
[]
> @@ -1840,10 +1840,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;