Skip to content

Commit

Permalink
[PATCH] 3c59x: remove superfluous vortex_debug test from boomerang_st…
Browse files Browse the repository at this point in the history
…art_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 <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
linvjw authored and Linus Torvalds committed Jun 22, 2005
1 parent c0d6221 commit 0f667ff
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions drivers/net/3c59x.c
Original file line number Diff line number Diff line change
Expand Up @@ -2202,9 +2202,8 @@ boomerang_start_xmit(struct sk_buff *skb, struct net_device *dev)

if (vortex_debug > 6) {
printk(KERN_DEBUG "boomerang_start_xmit()\n");
if (vortex_debug > 3)
printk(KERN_DEBUG "%s: Trying to send a packet, Tx index %d.\n",
dev->name, vp->cur_tx);
printk(KERN_DEBUG "%s: Trying to send a packet, Tx index %d.\n",
dev->name, vp->cur_tx);
}

if (vp->cur_tx - vp->dirty_tx >= TX_RING_SIZE) {
Expand Down

0 comments on commit 0f667ff

Please sign in to comment.