staging: rtl8188eu: Remove unused function rtw_set_scan_mode()
authornavin patidar <navin.patidar@gmail.com>
Sun, 13 Jul 2014 14:29:25 +0000 (19:59 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 13 Jul 2014 19:28:23 +0000 (12:28 -0700)
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_ioctl_set.c
drivers/staging/rtl8188eu/include/rtw_ioctl_set.h

index 5eb21cd94133330e4f211beab1fad95890ed5554..09d5bf4c166d27b27d16a81f492d6e45dee53b4b 100644 (file)
@@ -1074,23 +1074,6 @@ u16 rtw_get_cur_max_rate(struct adapter *adapter)
        return max_rate;
 }
 
-/*
-* rtw_set_scan_mode -
-* @adapter: pointer to struct adapter structure
-* @scan_mode:
-*
-* Return _SUCCESS or _FAIL
-*/
-int rtw_set_scan_mode(struct adapter *adapter, enum rt_scan_type scan_mode)
-{
-       if (scan_mode != SCAN_ACTIVE && scan_mode != SCAN_PASSIVE)
-               return _FAIL;
-
-       adapter->mlmepriv.scan_mode = scan_mode;
-
-       return _SUCCESS;
-}
-
 /*
 * rtw_set_country -
 * @adapter: pointer to struct adapter structure
index 73351475e9008b0620c39525d00f0b9be0c15144..525abbd799bcdda613b2571f16b70b716eb5a555 100644 (file)
@@ -42,7 +42,6 @@ u8 rtw_set_802_11_remove_key(struct adapter *adapt,
                             struct ndis_802_11_remove_key *key);
 u8 rtw_validate_ssid(struct ndis_802_11_ssid *ssid);
 u16 rtw_get_cur_max_rate(struct adapter *adapter);
-int rtw_set_scan_mode(struct adapter *adapter, enum rt_scan_type scan_mode);
 int rtw_set_country(struct adapter *adapter, const char *country_code);
 
 #endif