staging: rtl8188eu:Remove inline function rtw_netif_start_queue()
Signed-off-by: navin patidar <navin.patidar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
457c7b6a4d
commit
7788697391
2 changed files with 1 additions and 6 deletions
|
@ -119,11 +119,6 @@ static inline int rtw_netif_queue_stopped(struct net_device *pnetdev)
|
||||||
netif_tx_queue_stopped(netdev_get_tx_queue(pnetdev, 3));
|
netif_tx_queue_stopped(netdev_get_tx_queue(pnetdev, 3));
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void rtw_netif_start_queue(struct net_device *pnetdev)
|
|
||||||
{
|
|
||||||
netif_tx_start_all_queues(pnetdev);
|
|
||||||
}
|
|
||||||
|
|
||||||
static inline void rtw_netif_stop_queue(struct net_device *pnetdev)
|
static inline void rtw_netif_stop_queue(struct net_device *pnetdev)
|
||||||
{
|
{
|
||||||
netif_tx_stop_all_queues(pnetdev);
|
netif_tx_stop_all_queues(pnetdev);
|
||||||
|
|
|
@ -1082,7 +1082,7 @@ int _netdev_open(struct net_device *pnetdev)
|
||||||
rtw_set_pwr_state_check_timer(&padapter->pwrctrlpriv);
|
rtw_set_pwr_state_check_timer(&padapter->pwrctrlpriv);
|
||||||
|
|
||||||
if (!rtw_netif_queue_stopped(pnetdev))
|
if (!rtw_netif_queue_stopped(pnetdev))
|
||||||
rtw_netif_start_queue(pnetdev);
|
netif_tx_start_all_queues(pnetdev);
|
||||||
else
|
else
|
||||||
netif_tx_wake_all_queues(pnetdev);
|
netif_tx_wake_all_queues(pnetdev);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue