staging: rtl8188eu:Remove inline function rtw_netif_wake_queue()
authornavin patidar <navin.patidar@gmail.com>
Tue, 27 May 2014 15:35:51 +0000 (21:05 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 May 2014 19:03:42 +0000 (12:03 -0700)
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/include/osdep_service.h
drivers/staging/rtl8188eu/os_dep/os_intfs.c

index 5889f58ed7d3919b883d1f5f5494b82b6493b927..e5012f312880da83f6720057b27c39102b1b8a67 100644 (file)
@@ -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));
 }
 
-static inline void rtw_netif_wake_queue(struct net_device *pnetdev)
-{
-       netif_tx_wake_all_queues(pnetdev);
-}
-
 static inline void rtw_netif_start_queue(struct net_device *pnetdev)
 {
        netif_tx_start_all_queues(pnetdev);
index c1368b8c8a68e0eb5115fcf32e1a5095dfecdd0f..93f9f25c2c17cd73cb23c07e60c2bca117592dd7 100644 (file)
@@ -1084,7 +1084,7 @@ int _netdev_open(struct net_device *pnetdev)
        if (!rtw_netif_queue_stopped(pnetdev))
                rtw_netif_start_queue(pnetdev);
        else
-               rtw_netif_wake_queue(pnetdev);
+               netif_tx_wake_all_queues(pnetdev);
 
        netdev_br_init(pnetdev);