mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 20:51:44 +00:00
staging: rtl8192e: Remove ActUpdateChannelAccessSetting
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>
This commit is contained in:
parent
74214e526e
commit
45f57357f2
@ -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)
|
||||
{
|
||||
}
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user