tiocmset: kill the file pointer argument
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / char / nozomi.c
index 294d03e8c61a6a249b6008878efd08386c86d0a9..1b74c48c40167f242c1072b7e3fda1fbf78459c9 100644 (file)
@@ -1750,7 +1750,7 @@ static int ntty_write_room(struct tty_struct *tty)
 }
 
 /* Gets io control parameters */
-static int ntty_tiocmget(struct tty_struct *tty, struct file *file)
+static int ntty_tiocmget(struct tty_struct *tty)
 {
        const struct port *port = tty->driver_data;
        const struct ctrl_dl *ctrl_dl = &port->ctrl_dl;
@@ -1767,8 +1767,8 @@ static int ntty_tiocmget(struct tty_struct *tty, struct file *file)
 }
 
 /* Sets io controls parameters */
-static int ntty_tiocmset(struct tty_struct *tty, struct file *file,
-       unsigned int set, unsigned int clear)
+static int ntty_tiocmset(struct tty_struct *tty,
+                                       unsigned int set, unsigned int clear)
 {
        struct nozomi *dc = get_dc_by_tty(tty);
        unsigned long flags;