From: Jes Sorensen Date: Wed, 21 May 2014 07:37:39 +0000 (+0200) Subject: staging: rtl8723au: Get rid of unused struct ndis_802_11_configuration_fh X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9a3c056873ccb0286ab1fdf2e6c6a99f28b1b5c7;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git staging: rtl8723au: Get rid of unused struct ndis_802_11_configuration_fh Signed-off-by: Jes Sorensen Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723au/core/rtw_mlme.c b/drivers/staging/rtl8723au/core/rtw_mlme.c index 5dace9b9e830..6ae6521c4858 100644 --- a/drivers/staging/rtl8723au/core/rtw_mlme.c +++ b/drivers/staging/rtl8723au/core/rtw_mlme.c @@ -2124,11 +2124,6 @@ void rtw_init_registrypriv_dev_network23a(struct rtw_adapter* adapter) pdev_network->Configuration.Length=sizeof(struct ndis_802_11_config); pdev_network->Configuration.BeaconPeriod = 100; - pdev_network->Configuration.FHConfig.Length = 0; - pdev_network->Configuration.FHConfig.HopPattern = 0; - pdev_network->Configuration.FHConfig.HopSet = 0; - pdev_network->Configuration.FHConfig.DwellTime = 0; - } void rtw_update_registrypriv_dev_network23a(struct rtw_adapter* adapter) diff --git a/drivers/staging/rtl8723au/include/wlan_bssdef.h b/drivers/staging/rtl8723au/include/wlan_bssdef.h index 76a4578d4bba..2b913b8e546f 100644 --- a/drivers/staging/rtl8723au/include/wlan_bssdef.h +++ b/drivers/staging/rtl8723au/include/wlan_bssdef.h @@ -22,14 +22,6 @@ #define NDIS_802_11_LENGTH_RATES 8 #define NDIS_802_11_LENGTH_RATES_EX 16 -struct ndis_802_11_configuration_fh { - u32 Length; /* Length of structure */ - u32 HopPattern; /* As defined by 802.11, MSB set */ - u32 HopSet; /* to one if non-802.11 */ - u32 DwellTime; /* units are Kusec */ -}; - - /* FW will only save the channel number in DSConfig. ODI Handler will convert the channel number to freq. number. @@ -39,7 +31,6 @@ struct ndis_802_11_config { u32 BeaconPeriod; /* units are Kusec */ u32 ATIMWindow; /* units are Kusec */ u32 DSConfig; /* Frequency, units are kHz */ - struct ndis_802_11_configuration_fh FHConfig; }; struct ndis_802_11_fixed_ies {