diff options
Diffstat (limited to 'drivers/s390/net/claw.c')
-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) | |||
338 | 338 | ||
339 | CLAW_DBF_TEXT(4, trace, "claw_tx"); | 339 | CLAW_DBF_TEXT(4, trace, "claw_tx"); |
340 | p_ch=&privptr->channel[WRITE]; | 340 | p_ch=&privptr->channel[WRITE]; |
341 | if (skb == NULL) { | ||
342 | privptr->stats.tx_dropped++; | ||
343 | privptr->stats.tx_errors++; | ||
344 | CLAW_DBF_TEXT_(2, trace, "clawtx%d", -EIO); | ||
345 | return -EIO; | ||
346 | } | ||
347 | spin_lock_irqsave(get_ccwdev_lock(p_ch->cdev), saveflags); | 341 | spin_lock_irqsave(get_ccwdev_lock(p_ch->cdev), saveflags); |
348 | rc=claw_hw_tx( skb, dev, 1 ); | 342 | rc=claw_hw_tx( skb, dev, 1 ); |
349 | spin_unlock_irqrestore(get_ccwdev_lock(p_ch->cdev), saveflags); | 343 | spin_unlock_irqrestore(get_ccwdev_lock(p_ch->cdev), saveflags); |