staging:rtl8188eu:Remove code specific to kernel version < 2.6.35
authornavin patidar <navin.patidar@gmail.com>
Tue, 27 May 2014 15:35:42 +0000 (21:05 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 May 2014 19:03:41 +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/os_dep/xmit_linux.c

index 6089baea72ab94f1284526e3bf3d4fe9b791562a..91723802dffd8c3bdab0ac623bbefd78b28860d1 100644 (file)
@@ -113,7 +113,6 @@ void rtw_os_xmit_resource_free(struct adapter *padapter,
 
 void rtw_os_pkt_complete(struct adapter *padapter, struct sk_buff *pkt)
 {
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 35))
        u16     queue;
        struct xmit_priv *pxmitpriv = &padapter->xmitpriv;
 
@@ -126,10 +125,6 @@ void rtw_os_pkt_complete(struct adapter *padapter, struct sk_buff *pkt)
                if (__netif_subqueue_stopped(padapter->pnetdev, queue))
                        netif_wake_subqueue(padapter->pnetdev, queue);
        }
-#else
-       if (netif_queue_stopped(padapter->pnetdev))
-               netif_wake_queue(padapter->pnetdev);
-#endif
 
        dev_kfree_skb_any(pkt);
 }