staging: rtl8188eu: Remove function rtw_os_indicate_scan_done()
In function rtw_indicate_scan_done, replace call to rtw_os_indicate_scan_done with call to indicate_wx_scan_complete_event as all that rtw_os_indicate_scan_done does is call indicate_wx_scan_complete_event. Remove now-unused function rtw_os_indicate_scan_done. Issue found with Coccinelle. Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com> Link: https://lore.kernel.org/r/20190712071746.2474-4-nishkadg.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
01625b0bbb
commit
c6255d2d24
@ -827,7 +827,7 @@ void rtw_indicate_disconnect(struct adapter *padapter)
|
||||
|
||||
inline void rtw_indicate_scan_done(struct adapter *padapter, bool aborted)
|
||||
{
|
||||
rtw_os_indicate_scan_done(padapter, aborted);
|
||||
indicate_wx_scan_complete_event(padapter);
|
||||
}
|
||||
|
||||
static struct sta_info *rtw_joinbss_update_stainfo(struct adapter *padapter, struct wlan_network *pnetwork)
|
||||
|
@ -13,7 +13,6 @@
|
||||
void rtw_init_mlme_timer(struct adapter *padapter);
|
||||
void rtw_os_indicate_disconnect(struct adapter *adapter);
|
||||
void rtw_os_indicate_connect(struct adapter *adapter);
|
||||
void rtw_os_indicate_scan_done(struct adapter *padapter, bool aborted);
|
||||
void rtw_report_sec_ie(struct adapter *adapter, u8 authmode, u8 *sec_ie);
|
||||
|
||||
void rtw_reset_securitypriv(struct adapter *adapter);
|
||||
|
@ -27,11 +27,6 @@ void rtw_os_indicate_connect(struct adapter *adapter)
|
||||
netif_carrier_on(adapter->pnetdev);
|
||||
}
|
||||
|
||||
void rtw_os_indicate_scan_done(struct adapter *padapter, bool aborted)
|
||||
{
|
||||
indicate_wx_scan_complete_event(padapter);
|
||||
}
|
||||
|
||||
static struct rt_pmkid_list backup_pmkid[NUM_PMKID_CACHE];
|
||||
|
||||
void rtw_reset_securitypriv(struct adapter *adapter)
|
||||
|
Loading…
Reference in New Issue
Block a user