Merge tag 'usb-5.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
[linux-2.6-microblaze.git] / drivers / usb / serial / mos7720.c
index bb3d393..6ee8388 100644 (file)
@@ -1634,23 +1634,6 @@ static int mos7720_tiocmset(struct tty_struct *tty,
        return 0;
 }
 
-static int get_serial_info(struct tty_struct *tty,
-                          struct serial_struct *ss)
-{
-       struct usb_serial_port *port = tty->driver_data;
-       struct moschip_port *mos7720_port = usb_get_serial_port_data(port);
-
-       ss->type                = PORT_16550A;
-       ss->line                = mos7720_port->port->minor;
-       ss->port                = mos7720_port->port->port_number;
-       ss->irq                 = 0;
-       ss->xmit_fifo_size      = NUM_URBS * URB_TRANSFER_BUFFER_SIZE;
-       ss->baud_base           = 9600;
-       ss->close_delay         = 5*HZ;
-       ss->closing_wait        = 30*HZ;
-       return 0;
-}
-
 static int mos7720_ioctl(struct tty_struct *tty,
                         unsigned int cmd, unsigned long arg)
 {
@@ -1790,7 +1773,6 @@ static struct usb_serial_driver moschip7720_2port_driver = {
        .ioctl                  = mos7720_ioctl,
        .tiocmget               = mos7720_tiocmget,
        .tiocmset               = mos7720_tiocmset,
-       .get_serial             = get_serial_info,
        .set_termios            = mos7720_set_termios,
        .write                  = mos7720_write,
        .write_room             = mos7720_write_room,