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>
此提交包含在:
Alan Cox
2011-02-14 16:26:50 +00:00
提交者 Greg Kroah-Hartman
父節點 60b33c133c
當前提交 20b9d17715
共有 70 個檔案被更改,包括 120 行新增129 行删除

查看文件

@@ -2654,7 +2654,7 @@ static int gsmtty_tiocmget(struct tty_struct *tty)
return dlci->modem_rx;
}
static int gsmtty_tiocmset(struct tty_struct *tty, struct file *filp,
static int gsmtty_tiocmset(struct tty_struct *tty,
unsigned int set, unsigned int clear)
{
struct gsm_dlci *dlci = tty->driver_data;