tiocmget: kill off the passing of the struct file
[linux-2.6-block.git] / drivers / net / wan / pc300_tty.c
index 515d9b8af01e6e8c409a4fcd9e6488918d8a4981..d999e54a77308455db6d5075a8d377de6e340060 100644 (file)
@@ -133,7 +133,7 @@ static void cpc_tty_signal_on(pc300dev_t *pc300dev, unsigned char);
 
 static int pc300_tiocmset(struct tty_struct *, struct file *,
                          unsigned int, unsigned int);
-static int pc300_tiocmget(struct tty_struct *, struct file *);
+static int pc300_tiocmget(struct tty_struct *);
 
 /* functions called by PC300 driver */
 void cpc_tty_init(pc300dev_t *dev);
@@ -570,7 +570,7 @@ static int pc300_tiocmset(struct tty_struct *tty, struct file *file,
        return 0;
 }
 
-static int pc300_tiocmget(struct tty_struct *tty, struct file *file)
+static int pc300_tiocmget(struct tty_struct *tty)
 {
        unsigned int result;
        unsigned char status;