diff options
Diffstat (limited to 'drivers/net/cs89x0.c')
-rw-r--r-- | drivers/net/cs89x0.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/cs89x0.c b/drivers/net/cs89x0.c index 4c38491b8efb..2ccb9f12805b 100644 --- a/drivers/net/cs89x0.c +++ b/drivers/net/cs89x0.c | |||
@@ -902,7 +902,6 @@ get_dma_channel(struct net_device *dev) | |||
902 | return; | 902 | return; |
903 | } | 903 | } |
904 | } | 904 | } |
905 | return; | ||
906 | } | 905 | } |
907 | 906 | ||
908 | static void | 907 | static void |
@@ -1554,7 +1553,6 @@ static netdev_tx_t net_send_packet(struct sk_buff *skb,struct net_device *dev) | |||
1554 | writewords(dev->base_addr, TX_FRAME_PORT,skb->data,(skb->len+1) >>1); | 1553 | writewords(dev->base_addr, TX_FRAME_PORT,skb->data,(skb->len+1) >>1); |
1555 | spin_unlock_irqrestore(&lp->lock, flags); | 1554 | spin_unlock_irqrestore(&lp->lock, flags); |
1556 | lp->stats.tx_bytes += skb->len; | 1555 | lp->stats.tx_bytes += skb->len; |
1557 | dev->trans_start = jiffies; | ||
1558 | dev_kfree_skb (skb); | 1556 | dev_kfree_skb (skb); |
1559 | 1557 | ||
1560 | /* | 1558 | /* |
@@ -1673,7 +1671,6 @@ count_rx_errors(int status, struct net_local *lp) | |||
1673 | /* per str 172 */ | 1671 | /* per str 172 */ |
1674 | lp->stats.rx_crc_errors++; | 1672 | lp->stats.rx_crc_errors++; |
1675 | if (status & RX_DRIBBLE) lp->stats.rx_frame_errors++; | 1673 | if (status & RX_DRIBBLE) lp->stats.rx_frame_errors++; |
1676 | return; | ||
1677 | } | 1674 | } |
1678 | 1675 | ||
1679 | /* We have a good packet(s), get it/them out of the buffers. */ | 1676 | /* We have a good packet(s), get it/them out of the buffers. */ |