Commit 4b37700d authored by Mike McCormack's avatar Mike McCormack Committed by Greg Kroah-Hartman

Staging: rtl8192e: Remove dead code from rtl8192_tx

Signed-off-by: default avatarMike McCormack <mikem@ring3k.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 932f4b3a
...@@ -239,8 +239,6 @@ static void rtl819x_set_channel_map(u8 channel_plan, struct r8192_priv* priv) ...@@ -239,8 +239,6 @@ static void rtl819x_set_channel_map(u8 channel_plan, struct r8192_priv* priv)
#define eqMacAddr(a,b) ( ((a)[0]==(b)[0] && (a)[1]==(b)[1] && (a)[2]==(b)[2] && (a)[3]==(b)[3] && (a)[4]==(b)[4] && (a)[5]==(b)[5]) ? 1:0 ) #define eqMacAddr(a,b) ( ((a)[0]==(b)[0] && (a)[1]==(b)[1] && (a)[2]==(b)[2] && (a)[3]==(b)[3] && (a)[4]==(b)[4] && (a)[5]==(b)[5]) ? 1:0 )
/* 2007/07/25 MH Defien temp tx fw info. */
static TX_FWINFO_T Tmp_TxFwInfo;
#define rx_hal_is_cck_rate(_pdrvinfo)\ #define rx_hal_is_cck_rate(_pdrvinfo)\
...@@ -1464,25 +1462,6 @@ short rtl8192_tx(struct net_device *dev, struct sk_buff* skb) ...@@ -1464,25 +1462,6 @@ short rtl8192_tx(struct net_device *dev, struct sk_buff* skb)
pTxFwInfo->TxSubCarrier = 0; pTxFwInfo->TxSubCarrier = 0;
} }
if (0)
{
/* 2007/07/25 MH Copy current TX FW info.*/
memcpy((void*)(&Tmp_TxFwInfo), (void*)(pTxFwInfo), sizeof(TX_FWINFO_8190PCI));
printk("&&&&&&&&&&&&&&&&&&&&&&====>print out fwinf\n");
printk("===>enable fwcacl:%d\n", Tmp_TxFwInfo.EnableCPUDur);
printk("===>RTS STBC:%d\n", Tmp_TxFwInfo.RtsSTBC);
printk("===>RTS Subcarrier:%d\n", Tmp_TxFwInfo.RtsSubcarrier);
printk("===>Allow Aggregation:%d\n", Tmp_TxFwInfo.AllowAggregation);
printk("===>TX HT bit:%d\n", Tmp_TxFwInfo.TxHT);
printk("===>Tx rate:%d\n", Tmp_TxFwInfo.TxRate);
printk("===>Received AMPDU Density:%d\n", Tmp_TxFwInfo.RxAMD);
printk("===>Received MPDU Factor:%d\n", Tmp_TxFwInfo.RxMF);
printk("===>TxBandwidth:%d\n", Tmp_TxFwInfo.TxBandwidth);
printk("===>TxSubCarrier:%d\n", Tmp_TxFwInfo.TxSubCarrier);
printk("<=====**********************out of print\n");
}
spin_lock_irqsave(&priv->irq_th_lock,flags); spin_lock_irqsave(&priv->irq_th_lock,flags);
ring = &priv->tx_ring[tcb_desc->queue_index]; ring = &priv->tx_ring[tcb_desc->queue_index];
if (tcb_desc->queue_index != BEACON_QUEUE) { if (tcb_desc->queue_index != BEACON_QUEUE) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment