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 <rickveen...@gmail.com>
> ---
>  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;

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to