staging: rtl8723au: Get rid of unused struct ndis_802_11_configuration_fh
authorJes Sorensen <Jes.Sorensen@redhat.com>
Wed, 21 May 2014 07:37:39 +0000 (09:37 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 May 2014 07:27:42 +0000 (16:27 +0900)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/core/rtw_mlme.c
drivers/staging/rtl8723au/include/wlan_bssdef.h

index 5dace9b..6ae6521 100644 (file)
@@ -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)
index 76a4578..2b913b8 100644 (file)
 #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 {