]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: rtl8192e: Remove dead code associated with USB_TX_DRIVER_AGGREGATION_ENABLE
authorLarry Finger <Larry.Finger@lwfinger.net>
Wed, 13 Jul 2011 14:43:35 +0000 (09:43 -0500)
committerLarry Finger <Larry.Finger@lwfinger.net>
Wed, 24 Aug 2011 01:38:40 +0000 (20:38 -0500)
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
drivers/staging/rtl8192e/rtl819x_HT.h
drivers/staging/rtl8192e/rtl819x_HTProc.c
drivers/staging/rtl8192e/rtllib_softmac.c

index 703d9dde570835741f6eb896119e3dafb17c5735..abebedac281751671c8c3cd255b28ea98dd30523 100644 (file)
@@ -285,9 +285,6 @@ typedef struct _RT_HIGH_THROUGHPUT{
        u8                              RxReorderPendingTime;
        u16                             RxReorderDropCounter;
 
-#ifdef USB_TX_DRIVER_AGGREGATION_ENABLE
-       u8                              UsbTxAggrNum;
-#endif
 #ifdef USB_RX_AGGREGATION_SUPPORT
        u8                              UsbRxFwAggrEn;
        u8                              UsbRxFwAggrPageNum;
index 0f5410c2c16082feeb49c577ba52734eba4645f4..cb144610489e40df3fe9f9841bd40a8d2385dbc6 100644 (file)
@@ -94,9 +94,6 @@ void HTUpdateDefaultSetting(struct rtllib_device* ieee)
        pHTInfo->RxReorderWinSize = 64;
        pHTInfo->RxReorderPendingTime = 30;
 
-#ifdef USB_TX_DRIVER_AGGREGATION_ENABLE
-       pHTInfo->UsbTxAggrNum = 4;
-#endif
 #ifdef USB_RX_AGGREGATION_SUPPORT
        pHTInfo->UsbRxFwAggrEn = 1;
        pHTInfo->UsbRxFwAggrPageNum = 24;
index 9d881f480ce0278d4fee620c50284ccd8c2a91a4..b4279d7049ec3fdf6d5d765cf932d688d08e1363 100644 (file)
@@ -2591,11 +2591,7 @@ void rtllib_softmac_xmit(struct rtllib_txb *txb, struct rtllib_device *ieee)
 
        /* if xmit available, just xmit it immediately, else just insert it to the wait queue */
        for (i = 0; i < txb->nr_frags; i++) {
-#ifdef USB_TX_DRIVER_AGGREGATION_ENABLE
-               queue_len = skb_queue_len(&ieee->skb_drv_aggQ[queue_index]);
-#else
                queue_len = skb_queue_len(&ieee->skb_waitQ[queue_index]);
-#endif
                if ((queue_len  != 0) ||\
                        (!ieee->check_nic_enough_desc(ieee->dev,queue_index))||\
                       (ieee->queue_stop)) {
@@ -2609,11 +2605,7 @@ void rtllib_softmac_xmit(struct rtllib_txb *txb, struct rtllib_device *ieee)
                        if (queue_len < 200)
 #endif
                        {
-#ifdef USB_TX_DRIVER_AGGREGATION_ENABLE
-                               skb_queue_tail(&ieee->skb_drv_aggQ[queue_index], txb->fragments[i]);
-#else
                                skb_queue_tail(&ieee->skb_waitQ[queue_index], txb->fragments[i]);
-#endif
                        }else{
                                kfree_skb(txb->fragments[i]);
                        }