diff options
author | John W. Linville <linville@tuxdriver.com> | 2005-06-21 20:15:14 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-21 21:46:22 -0400 |
commit | 0f667ff5c0282f686b4f739e46353779b3cfa2f6 (patch) | |
tree | 9e672587f4032ac1be6fb65998e73d59ad5df9f5 /drivers/net | |
parent | c0d62219a48bd91ec40fb254c930914dccc77ff1 (diff) |
[PATCH] 3c59x: remove superfluous vortex_debug test from boomerang_start_xmit()
Remove the superfluous test of "if (vortex_debug > 3)" inside the "if
(vortex_debug > 6)" clause early in boomerang_start_xmit.
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/3c59x.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/3c59x.c b/drivers/net/3c59x.c index b5e076043431..80ec9aa575bb 100644 --- a/drivers/net/3c59x.c +++ b/drivers/net/3c59x.c | |||
@@ -2202,9 +2202,8 @@ boomerang_start_xmit(struct sk_buff *skb, struct net_device *dev) | |||
2202 | 2202 | ||
2203 | if (vortex_debug > 6) { | 2203 | if (vortex_debug > 6) { |
2204 | printk(KERN_DEBUG "boomerang_start_xmit()\n"); | 2204 | printk(KERN_DEBUG "boomerang_start_xmit()\n"); |
2205 | if (vortex_debug > 3) | 2205 | printk(KERN_DEBUG "%s: Trying to send a packet, Tx index %d.\n", |
2206 | printk(KERN_DEBUG "%s: Trying to send a packet, Tx index %d.\n", | 2206 | dev->name, vp->cur_tx); |
2207 | dev->name, vp->cur_tx); | ||
2208 | } | 2207 | } |
2209 | 2208 | ||
2210 | if (vp->cur_tx - vp->dirty_tx >= TX_RING_SIZE) { | 2209 | if (vp->cur_tx - vp->dirty_tx >= TX_RING_SIZE) { |