tiocmset: kill the file pointer argument

Doing tiocmget was such fun we should do tiocmset as well for the same
reasons

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Alan Cox
2011-02-14 16:26:50 +00:00
committed by Greg Kroah-Hartman
parent 60b33c133c
commit 20b9d17715
70 changed files with 120 additions and 129 deletions

View File

@ -214,12 +214,12 @@ int ircomm_tty_tiocmget(struct tty_struct *tty)
}
/*
* Function ircomm_tty_tiocmset (tty, file, set, clear)
* Function ircomm_tty_tiocmset (tty, set, clear)
*
*
*
*/
int ircomm_tty_tiocmset(struct tty_struct *tty, struct file *file,
int ircomm_tty_tiocmset(struct tty_struct *tty,
unsigned int set, unsigned int clear)
{
struct ircomm_tty_cb *self = (struct ircomm_tty_cb *) tty->driver_data;