diff options
Diffstat (limited to 'drivers/net/usb/hso.c')
-rw-r--r-- | drivers/net/usb/hso.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/usb/hso.c b/drivers/net/usb/hso.c index be0cc99e881a..9964df199511 100644 --- a/drivers/net/usb/hso.c +++ b/drivers/net/usb/hso.c | |||
@@ -834,8 +834,6 @@ static netdev_tx_t hso_net_start_xmit(struct sk_buff *skb, | |||
834 | } else { | 834 | } else { |
835 | net->stats.tx_packets++; | 835 | net->stats.tx_packets++; |
836 | net->stats.tx_bytes += skb->len; | 836 | net->stats.tx_bytes += skb->len; |
837 | /* And tell the kernel when the last transmit started. */ | ||
838 | net->trans_start = jiffies; | ||
839 | } | 837 | } |
840 | dev_kfree_skb(skb); | 838 | dev_kfree_skb(skb); |
841 | /* we're done */ | 839 | /* we're done */ |
@@ -1474,7 +1472,6 @@ static void hso_serial_set_termios(struct tty_struct *tty, struct ktermios *old) | |||
1474 | spin_unlock_irqrestore(&serial->serial_lock, flags); | 1472 | spin_unlock_irqrestore(&serial->serial_lock, flags); |
1475 | 1473 | ||
1476 | /* done */ | 1474 | /* done */ |
1477 | return; | ||
1478 | } | 1475 | } |
1479 | 1476 | ||
1480 | /* how many characters in the buffer */ | 1477 | /* how many characters in the buffer */ |
@@ -1994,7 +1991,6 @@ static void hso_std_serial_write_bulk_callback(struct urb *urb) | |||
1994 | hso_kick_transmit(serial); | 1991 | hso_kick_transmit(serial); |
1995 | 1992 | ||
1996 | D1(" "); | 1993 | D1(" "); |
1997 | return; | ||
1998 | } | 1994 | } |
1999 | 1995 | ||
2000 | /* called for writing diag or CS serial port */ | 1996 | /* called for writing diag or CS serial port */ |