tiocmget: kill off the passing of the struct file
[firefly-linux-kernel-4.4.55.git] / drivers / char / serial167.c
index 748c3b0ecd89413f4bbe918e783bb042fcb02d1a..fda90643ead7604356e7ee7ce8bba129dde75aae 100644 (file)
@@ -1308,7 +1308,7 @@ check_and_exit:
        return startup(info);
 }                              /* set_serial_info */
 
-static int cy_tiocmget(struct tty_struct *tty, struct file *file)
+static int cy_tiocmget(struct tty_struct *tty)
 {
        struct cyclades_port *info = tty->driver_data;
        int channel;