summaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/f81534.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/serial/f81534.c')
-rw-r--r--drivers/usb/serial/f81534.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/usb/serial/f81534.c b/drivers/usb/serial/f81534.c
index c9f90d437e3a..633de52feaad 100644
--- a/drivers/usb/serial/f81534.c
+++ b/drivers/usb/serial/f81534.c
@@ -1140,8 +1140,7 @@ static void f81534_close(struct usb_serial_port *port)
mutex_unlock(&serial_priv->urb_mutex);
}
-static int f81534_get_serial_info(struct tty_struct *tty,
- struct serial_struct *ss)
+static void f81534_get_serial_info(struct tty_struct *tty, struct serial_struct *ss)
{
struct usb_serial_port *port = tty->driver_data;
struct f81534_port_private *port_priv;
@@ -1149,12 +1148,7 @@ static int f81534_get_serial_info(struct tty_struct *tty,
port_priv = usb_get_serial_port_data(port);
ss->type = PORT_16550A;
- ss->line = port->minor;
ss->baud_base = port_priv->baud_base;
- ss->close_delay = 50;
- ss->closing_wait = 3000;
-
- return 0;
}
static void f81534_process_per_serial_block(struct usb_serial_port *port,