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:

committed by
Greg Kroah-Hartman

parent
60b33c133c
commit
20b9d17715
@@ -167,7 +167,7 @@ static int irtty_set_dtr_rts(struct sir_dev *dev, int dtr, int rts)
|
||||
* let's be careful... Jean II
|
||||
*/
|
||||
IRDA_ASSERT(priv->tty->ops->tiocmset != NULL, return -1;);
|
||||
priv->tty->ops->tiocmset(priv->tty, NULL, set, clear);
|
||||
priv->tty->ops->tiocmset(priv->tty, set, clear);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user