|
@@ -1383,7 +1383,7 @@ static void qt_break(struct tty_struct *tty, int break_state)
|
|
|
|
|
|
static inline int qt_real_tiocmget(struct tty_struct *tty,
|
|
|
struct usb_serial_port *port,
|
|
|
- struct file *file, struct usb_serial *serial)
|
|
|
+ struct usb_serial *serial)
|
|
|
{
|
|
|
|
|
|
u8 mcr;
|
|
@@ -1462,7 +1462,7 @@ static inline int qt_real_tiocmset(struct tty_struct *tty,
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
-static int qt_tiocmget(struct tty_struct *tty, struct file *file)
|
|
|
+static int qt_tiocmget(struct tty_struct *tty)
|
|
|
{
|
|
|
struct usb_serial_port *port = tty->driver_data;
|
|
|
struct usb_serial *serial = get_usb_serial(port, __func__);
|
|
@@ -1480,7 +1480,7 @@ static int qt_tiocmget(struct tty_struct *tty, struct file *file)
|
|
|
dbg("%s - port %d\n", __func__, port->number);
|
|
|
dbg("%s - port->RxHolding = %d\n", __func__, qt_port->RxHolding);
|
|
|
|
|
|
- retval = qt_real_tiocmget(tty, port, file, serial);
|
|
|
+ retval = qt_real_tiocmget(tty, port, serial);
|
|
|
|
|
|
spin_unlock_irqrestore(&qt_port->lock, flags);
|
|
|
return retval;
|