tiocmget: kill off the passing of the struct file
[firefly-linux-kernel-4.4.55.git] / drivers / char / pcmcia / ipwireless / tty.c
index f5eb28b6cb0f53da42c256d1f92f3832d9405af7..7d2ef4909a73f919ca9599eb420641cd1b0a4981 100644 (file)
@@ -395,7 +395,7 @@ static int set_control_lines(struct ipw_tty *tty, unsigned int set,
        return 0;
 }
 
-static int ipw_tiocmget(struct tty_struct *linux_tty, struct file *file)
+static int ipw_tiocmget(struct tty_struct *linux_tty)
 {
        struct ipw_tty *tty = linux_tty->driver_data;
        /* FIXME: Exactly how is the tty object locked here .. */