tiocmset: kill the file pointer argument
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / char / pcmcia / synclink_cs.c
index 7b68ba6609fee666f771cb2872401db654715f17..02127cad0980e6eaa986910ce0f329daf535a3e2 100644 (file)
@@ -419,8 +419,8 @@ static void bh_status(MGSLPC_INFO *info);
  * ioctl handlers
  */
 static int tiocmget(struct tty_struct *tty);
-static int tiocmset(struct tty_struct *tty, struct file *file,
-                   unsigned int set, unsigned int clear);
+static int tiocmset(struct tty_struct *tty,
+                                       unsigned int set, unsigned int clear);
 static int get_stats(MGSLPC_INFO *info, struct mgsl_icount __user *user_icount);
 static int get_params(MGSLPC_INFO *info, MGSL_PARAMS __user *user_params);
 static int set_params(MGSLPC_INFO *info, MGSL_PARAMS __user *new_params, struct tty_struct *tty);
@@ -2139,7 +2139,7 @@ static int tiocmget(struct tty_struct *tty)
 
 /* set modem control signals (DTR/RTS)
  */
-static int tiocmset(struct tty_struct *tty, struct file *file,
+static int tiocmset(struct tty_struct *tty,
                    unsigned int set, unsigned int clear)
 {
        MGSLPC_INFO *info = (MGSLPC_INFO *)tty->driver_data;