diff options
author | David S. Miller <davem@davemloft.net> | 2009-05-27 20:27:01 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-05-27 20:27:01 -0400 |
commit | ae71fabbe55552afc01f2bc797bee6838db22485 (patch) | |
tree | 7c6b450a1ea71b829d23c6e05a03ab9bdc4d8e33 /drivers/net/wireless | |
parent | 438263ac58f8c2a3a409b7d4e68a37725bd95818 (diff) |
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>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/wavelan.c | 4 | ||||
-rw-r--r-- | drivers/net/wireless/wavelan_cs.c | 5 |
2 files changed, 0 insertions, 9 deletions
diff --git a/drivers/net/wireless/wavelan.c b/drivers/net/wireless/wavelan.c index 3ab3eb957189..25d27b64f528 100644 --- a/drivers/net/wireless/wavelan.c +++ b/drivers/net/wireless/wavelan.c | |||
@@ -2869,10 +2869,6 @@ static int wavelan_packet_xmit(struct sk_buff *skb, struct net_device * dev) | |||
2869 | if (lp->tx_n_in_use == (NTXBLOCKS - 1)) | 2869 | if (lp->tx_n_in_use == (NTXBLOCKS - 1)) |
2870 | return 1; | 2870 | return 1; |
2871 | } | 2871 | } |
2872 | #ifdef DEBUG_TX_ERROR | ||
2873 | if (skb->next) | ||
2874 | printk(KERN_INFO "skb has next\n"); | ||
2875 | #endif | ||
2876 | 2872 | ||
2877 | /* Do we need some padding? */ | 2873 | /* Do we need some padding? */ |
2878 | /* Note : on wireless the propagation time is in the order of 1us, | 2874 | /* Note : on wireless the propagation time is in the order of 1us, |
diff --git a/drivers/net/wireless/wavelan_cs.c b/drivers/net/wireless/wavelan_cs.c index e55b33961aeb..1a90d69f18a9 100644 --- a/drivers/net/wireless/wavelan_cs.c +++ b/drivers/net/wireless/wavelan_cs.c | |||
@@ -3107,11 +3107,6 @@ wavelan_packet_xmit(struct sk_buff * skb, | |||
3107 | * so the Tx buffer is now free */ | 3107 | * so the Tx buffer is now free */ |
3108 | } | 3108 | } |
3109 | 3109 | ||
3110 | #ifdef DEBUG_TX_ERROR | ||
3111 | if (skb->next) | ||
3112 | printk(KERN_INFO "skb has next\n"); | ||
3113 | #endif | ||
3114 | |||
3115 | /* Check if we need some padding */ | 3110 | /* Check if we need some padding */ |
3116 | /* Note : on wireless the propagation time is in the order of 1us, | 3111 | /* Note : on wireless the propagation time is in the order of 1us, |
3117 | * and we don't have the Ethernet specific requirement of beeing | 3112 | * and we don't have the Ethernet specific requirement of beeing |