diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2011-07-13 14:43:35 (GMT) |
---|---|---|
committer | Larry Finger <Larry.Finger@lwfinger.net> | 2011-08-24 01:38:40 (GMT) |
commit | bf474281e98171b7491a8b759491f400bd6b1863 (patch) | |
tree | 2dd134c954a53c2db30a1c996cc311b22f42c33a /drivers/staging/rtl8192e/rtllib_softmac.c | |
parent | 68aee8036c04145742a9e7a00eb78e4da1b35fdc (diff) | |
download | linux-bf474281e98171b7491a8b759491f400bd6b1863.tar.xz |
staging: rtl8192e: Remove dead code associated with USB_TX_DRIVER_AGGREGATION_ENABLE
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Diffstat (limited to 'drivers/staging/rtl8192e/rtllib_softmac.c')
-rw-r--r-- | drivers/staging/rtl8192e/rtllib_softmac.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/staging/rtl8192e/rtllib_softmac.c b/drivers/staging/rtl8192e/rtllib_softmac.c index 9d881f4..b4279d7 100644 --- a/drivers/staging/rtl8192e/rtllib_softmac.c +++ b/drivers/staging/rtl8192e/rtllib_softmac.c @@ -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]); } |