staging: rtl8192e: Remove ActUpdateChannelAccessSetting
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Tue, 28 Jul 2015 21:31:38 +0000 (23:31 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 31 Jul 2015 23:21:36 +0000 (16:21 -0700)
Function is empty and called only once.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c
drivers/staging/rtl8192e/rtl8192e/rtl_core.c
drivers/staging/rtl8192e/rtl8192e/rtl_core.h

index 6d6060390182f163beaa44ea4ce56248747c4eea..f8ad81e8fb1fb64c68fe372bd203743d744ec632 100644 (file)
@@ -2388,9 +2388,3 @@ bool rtl92e_is_halfn_supported_by_ap(struct net_device *dev)
 
        return Reval;
 }
-
-void ActUpdateChannelAccessSetting(struct net_device *dev,
-       enum wireless_mode WirelessMode,
-       struct channel_access_setting *ChnlAccessSetting)
-{
-}
index f0e175def6a4f69cefd771a23b27413dd29279ed..584b78cd90b77505d4b1eb67c56680d141e30ccc 100644 (file)
@@ -737,9 +737,6 @@ void rtl92e_set_wireless_mode(struct net_device *dev, u8 wireless_mode)
 
        priv->rtllib->mode = wireless_mode;
 
-       ActUpdateChannelAccessSetting(dev, wireless_mode,
-                                     &priv->ChannelAccessSetting);
-
        if ((wireless_mode == WIRELESS_MODE_N_24G) ||
            (wireless_mode == WIRELESS_MODE_N_5G)) {
                priv->rtllib->pHTInfo->bEnableHT = 1;
index 20df4e20edf2cd1b7fcd4451d02f2daf126d734f..bdb50323f61be1c66db7dad44cc73af29574c5ab 100644 (file)
@@ -619,8 +619,4 @@ bool rtl92e_set_rf_state(struct net_device *dev,
                         enum rt_rf_power_state StateToSet,
                         RT_RF_CHANGE_SOURCE ChangeSource,
                         bool   ProtectOrNot);
-void ActUpdateChannelAccessSetting(struct net_device *dev,
-                          enum wireless_mode WirelessMode,
-                          struct channel_access_setting *ChnlAccessSetting);
-
 #endif