tiocmget: kill off the passing of the struct file
[firefly-linux-kernel-4.4.55.git] / drivers / tty / n_gsm.c
index 44b8412a04e8531b42df62e4973096f10b98bc25..97e3d509ff829a3497f8d38b53c96aa0a0b729e9 100644 (file)
@@ -2648,7 +2648,7 @@ static void gsmtty_wait_until_sent(struct tty_struct *tty, int timeout)
           to do here */
 }
 
-static int gsmtty_tiocmget(struct tty_struct *tty, struct file *filp)
+static int gsmtty_tiocmget(struct tty_struct *tty)
 {
        struct gsm_dlci *dlci = tty->driver_data;
        return dlci->modem_rx;