tiocmget: kill off the passing of the struct file
[linux-2.6-block.git] / drivers / char / ip2 / ip2main.c
index c3a025356b8ba1de3516fb53863d959446c52517..476cd087118e4d0339fd78467d640ecbd0701e5c 100644 (file)
@@ -181,7 +181,7 @@ static void ip2_unthrottle(PTTY);
 static void ip2_stop(PTTY);
 static void ip2_start(PTTY);
 static void ip2_hangup(PTTY);
-static int  ip2_tiocmget(struct tty_struct *tty, struct file *file);
+static int  ip2_tiocmget(struct tty_struct *tty);
 static int  ip2_tiocmset(struct tty_struct *tty, struct file *file,
                         unsigned int set, unsigned int clear);
 static int ip2_get_icount(struct tty_struct *tty,
@@ -2038,7 +2038,7 @@ ip2_stop ( PTTY tty )
 /* Device Ioctl Section                                                       */
 /******************************************************************************/
 
-static int ip2_tiocmget(struct tty_struct *tty, struct file *file)
+static int ip2_tiocmget(struct tty_struct *tty)
 {
        i2ChanStrPtr pCh = DevTable[tty->index];
 #ifdef ENABLE_DSSNOW