Skip to content

Commit

Permalink
net: fix network drivers ndo_start_xmit() return values (part 5)
Browse files Browse the repository at this point in the history
Fix up s390 drivers that return an errno value to qdisc_restart(), causing
qdisc_restart() to print a warning an requeue/retransmit the skb.

- claw: impossible condition, simply remove it

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Patrick McHardy authored and David S. Miller committed Jun 13, 2009
1 parent 47f88c9 commit ae71baf
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions drivers/s390/net/claw.c
Original file line number Diff line number Diff line change
Expand Up @@ -338,12 +338,6 @@ claw_tx(struct sk_buff *skb, struct net_device *dev)

CLAW_DBF_TEXT(4, trace, "claw_tx");
p_ch=&privptr->channel[WRITE];
if (skb == NULL) {
privptr->stats.tx_dropped++;
privptr->stats.tx_errors++;
CLAW_DBF_TEXT_(2, trace, "clawtx%d", -EIO);
return -EIO;
}
spin_lock_irqsave(get_ccwdev_lock(p_ch->cdev), saveflags);
rc=claw_hw_tx( skb, dev, 1 );
spin_unlock_irqrestore(get_ccwdev_lock(p_ch->cdev), saveflags);
Expand Down

0 comments on commit ae71baf

Please sign in to comment.