diff options
Diffstat (limited to 'drivers/net/usb/hso.c')
-rw-r--r-- | drivers/net/usb/hso.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/usb/hso.c b/drivers/net/usb/hso.c index 4f123f869bdc..8110595fbbcc 100644 --- a/drivers/net/usb/hso.c +++ b/drivers/net/usb/hso.c | |||
@@ -1643,6 +1643,8 @@ static int hso_get_count(struct hso_serial *serial, | |||
1643 | struct uart_icount cnow; | 1643 | struct uart_icount cnow; |
1644 | struct hso_tiocmget *tiocmget = serial->tiocmget; | 1644 | struct hso_tiocmget *tiocmget = serial->tiocmget; |
1645 | 1645 | ||
1646 | memset(&icount, 0, sizeof(struct serial_icounter_struct)); | ||
1647 | |||
1646 | if (!tiocmget) | 1648 | if (!tiocmget) |
1647 | return -ENOENT; | 1649 | return -ENOENT; |
1648 | spin_lock_irq(&serial->serial_lock); | 1650 | spin_lock_irq(&serial->serial_lock); |