tiocmget: kill off the passing of the struct file
[firefly-linux-kernel-4.4.55.git] / drivers / usb / serial / spcp8x5.c
index cbfb70bffdd05e842a9e9479297ffb95edb2a6e0..cac13009fc5ccb0578fc7a12ba895936bdfa7638 100644 (file)
@@ -618,7 +618,7 @@ static int spcp8x5_tiocmset(struct tty_struct *tty, struct file *file,
        return spcp8x5_set_ctrlLine(port->serial->dev, control , priv->type);
 }
 
-static int spcp8x5_tiocmget(struct tty_struct *tty, struct file *file)
+static int spcp8x5_tiocmget(struct tty_struct *tty)
 {
        struct usb_serial_port *port = tty->driver_data;
        struct spcp8x5_private *priv = usb_get_serial_port_data(port);