From: navin patidar Date: Tue, 27 May 2014 15:35:51 +0000 (+0530) Subject: staging: rtl8188eu:Remove inline function rtw_netif_wake_queue() X-Git-Tag: firefly_0821_release~176^2~3465^2~39^2~109 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=457c7b6a4d8c69fc6cf83c45ab1f7fbfa3d5a48a;p=firefly-linux-kernel-4.4.55.git staging: rtl8188eu:Remove inline function rtw_netif_wake_queue() Signed-off-by: navin patidar Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8188eu/include/osdep_service.h b/drivers/staging/rtl8188eu/include/osdep_service.h index 5889f58ed7d3..e5012f312880 100644 --- a/drivers/staging/rtl8188eu/include/osdep_service.h +++ b/drivers/staging/rtl8188eu/include/osdep_service.h @@ -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); diff --git a/drivers/staging/rtl8188eu/os_dep/os_intfs.c b/drivers/staging/rtl8188eu/os_dep/os_intfs.c index c1368b8c8a68..93f9f25c2c17 100644 --- a/drivers/staging/rtl8188eu/os_dep/os_intfs.c +++ b/drivers/staging/rtl8188eu/os_dep/os_intfs.c @@ -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);