tiocmget: kill off the passing of the struct file
[firefly-linux-kernel-4.4.55.git] / drivers / tty / serial / crisv10.c
index bcc31f2140ac7528811d607fd0e3e1f1f6cd66d4..8cc5c0224b2513b181a1142c18d1d47be20e7345 100644 (file)
@@ -3614,7 +3614,7 @@ rs_tiocmset(struct tty_struct *tty, struct file *file,
 }
 
 static int
-rs_tiocmget(struct tty_struct *tty, struct file *file)
+rs_tiocmget(struct tty_struct *tty)
 {
        struct e100_serial *info = (struct e100_serial *)tty->driver_data;
        unsigned int result;