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 5dace9b9e83090110244f0d664db3d04c4c4efd3..6ae6521c4858ef8e2b0a4bdd8cf135bb7a94b7a1 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 76a4578d4bba6e45613da49f5c71e98d827f54a1..2b913b8e546f8931c6cac2404922dce25d6824c6 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 {