mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 16:54:20 +08:00
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:
parent
438263ac58
commit
ae71fabbe5
@ -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))
|
||||
return 1;
|
||||
}
|
||||
#ifdef DEBUG_TX_ERROR
|
||||
if (skb->next)
|
||||
printk(KERN_INFO "skb has next\n");
|
||||
#endif
|
||||
|
||||
/* Do we need some padding? */
|
||||
/* 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 */
|
||||
}
|
||||
|
||||
#ifdef DEBUG_TX_ERROR
|
||||
if (skb->next)
|
||||
printk(KERN_INFO "skb has next\n");
|
||||
#endif
|
||||
|
||||
/* Check if we need some padding */
|
||||
/* Note : on wireless the propagation time is in the order of 1us,
|
||||
* and we don't have the Ethernet specific requirement of beeing
|
||||
|
Loading…
Reference in New Issue
Block a user