tiocmset: kill the file pointer argument
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / staging / quatech_usb2 / quatech_usb2.c
index ed58f482c963d17e65d9004cf5c9fcc1f93177e4..3734448d1b82ff9c3ac169a0162aef5104753508 100644 (file)
@@ -1078,7 +1078,7 @@ static void qt2_set_termios(struct tty_struct *tty,
        }
 }
 
-static int qt2_tiocmget(struct tty_struct *tty, struct file *file)
+static int qt2_tiocmget(struct tty_struct *tty)
 {
        struct usb_serial_port *port = tty->driver_data;
        struct usb_serial *serial = port->serial;
@@ -1121,7 +1121,7 @@ static int qt2_tiocmget(struct tty_struct *tty, struct file *file)
        }
 }
 
-static int qt2_tiocmset(struct tty_struct *tty, struct file *file,
+static int qt2_tiocmset(struct tty_struct *tty,
                       unsigned int set, unsigned int clear)
 {
        struct usb_serial_port *port = tty->driver_data;