wavelan: Remove bogus debugging on skb->next being non-NULL.
This eliminates explicit references to the SKB list handling implementation. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -2869,10 +2869,6 @@ static int wavelan_packet_xmit(struct sk_buff *skb, struct net_device * dev)
|
|||||||
if (lp->tx_n_in_use == (NTXBLOCKS - 1))
|
if (lp->tx_n_in_use == (NTXBLOCKS - 1))
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
#ifdef DEBUG_TX_ERROR
|
|
||||||
if (skb->next)
|
|
||||||
printk(KERN_INFO "skb has next\n");
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Do we need some padding? */
|
/* Do we need some padding? */
|
||||||
/* Note : on wireless the propagation time is in the order of 1us,
|
/* Note : on wireless the propagation time is in the order of 1us,
|
||||||
|
@@ -3107,11 +3107,6 @@ wavelan_packet_xmit(struct sk_buff * skb,
|
|||||||
* so the Tx buffer is now free */
|
* so the Tx buffer is now free */
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef DEBUG_TX_ERROR
|
|
||||||
if (skb->next)
|
|
||||||
printk(KERN_INFO "skb has next\n");
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Check if we need some padding */
|
/* Check if we need some padding */
|
||||||
/* Note : on wireless the propagation time is in the order of 1us,
|
/* Note : on wireless the propagation time is in the order of 1us,
|
||||||
* and we don't have the Ethernet specific requirement of beeing
|
* and we don't have the Ethernet specific requirement of beeing
|
||||||
|
Reference in New Issue
Block a user