mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-01 03:44:27 -04:00
staging: rtl8192e: Remove undefined function data_hard_stop
Remove function data_hard_stop as it is not defined. Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> Link: https://lore.kernel.org/r/4cc180b9538d6c9c32ff0f56646a642fa217a4a4.1683960684.git.philipp.g.hortmann@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
da812f15af
commit
a634e89498
@@ -1682,12 +1682,6 @@ struct rtllib_device {
|
||||
void (*softmac_data_hard_start_xmit)(struct sk_buff *skb,
|
||||
struct net_device *dev, int rate);
|
||||
|
||||
/* stops the HW queue for DATA frames. Useful to avoid
|
||||
* waste time to TX data frame when we are reassociating
|
||||
* This function can sleep.
|
||||
*/
|
||||
void (*data_hard_stop)(struct net_device *dev);
|
||||
|
||||
/* OK this is complementing to data_poll_hard_stop */
|
||||
void (*data_hard_resume)(struct net_device *dev);
|
||||
|
||||
|
||||
@@ -1575,9 +1575,6 @@ static void rtllib_associate_procedure_wq(void *data)
|
||||
ieee->rtllib_ips_leave(ieee->dev);
|
||||
mutex_lock(&ieee->wx_mutex);
|
||||
|
||||
if (ieee->data_hard_stop)
|
||||
ieee->data_hard_stop(ieee->dev);
|
||||
|
||||
rtllib_stop_scan(ieee);
|
||||
HTSetConnectBwMode(ieee, HT_CHANNEL_WIDTH_20, HT_EXTCHNL_OFFSET_NO_EXT);
|
||||
if (ieee->rf_power_state == rf_off) {
|
||||
@@ -2734,8 +2731,6 @@ void rtllib_disassociate(struct rtllib_device *ieee)
|
||||
if (ieee->softmac_features & IEEE_SOFTMAC_TX_QUEUE)
|
||||
rtllib_reset_queue(ieee);
|
||||
|
||||
if (ieee->data_hard_stop)
|
||||
ieee->data_hard_stop(ieee->dev);
|
||||
if (IS_DOT11D_ENABLE(ieee))
|
||||
dot11d_reset(ieee);
|
||||
ieee->state = RTLLIB_NOLINK;
|
||||
|
||||
@@ -345,9 +345,6 @@ void rtllib_wx_sync_scan_wq(void *data)
|
||||
rtllib_sta_ps_send_null_frame(ieee, 1);
|
||||
|
||||
rtllib_stop_all_queues(ieee);
|
||||
|
||||
if (ieee->data_hard_stop)
|
||||
ieee->data_hard_stop(ieee->dev);
|
||||
rtllib_stop_send_beacons(ieee);
|
||||
ieee->state = RTLLIB_LINKED_SCANNING;
|
||||
ieee->link_change(ieee->dev);
|
||||
|
||||
Reference in New Issue
Block a user