diff options
author | Patrick McHardy <kaber@trash.net> | 2009-06-12 05:13:07 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-06-13 01:18:40 -0700 |
commit | ae71bafdd4ce29856addfede1ab7046f4e45775b (patch) | |
tree | a8adfef3afd5abeaaeaa725268af3465fe688772 /drivers | |
parent | 47f88c99c2ad0c05dd415e1c2a6d59426eb305ed (diff) | |
download | linux-stable-ae71bafdd4ce29856addfede1ab7046f4e45775b.tar.gz linux-stable-ae71bafdd4ce29856addfede1ab7046f4e45775b.tar.bz2 linux-stable-ae71bafdd4ce29856addfede1ab7046f4e45775b.zip |
net: fix network drivers ndo_start_xmit() return values (part 5)
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/s390/net/claw.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/s390/net/claw.c b/drivers/s390/net/claw.c index 30a43cc79e76..7b6f46ddf3c3 100644 --- a/drivers/s390/net/claw.c +++ b/drivers/s390/net/claw.c @@ -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); |