tty: remove filp from the USB tty ioctls
We don't use it so we can trim it from here as we try and stamp the file object dependencies out of the serial code. 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
20b9d17715
commit
00a0d0d65b
@@ -417,7 +417,7 @@ static int serial_ioctl(struct tty_struct *tty, struct file *file,
|
||||
/* pass on to the driver specific version of this function
|
||||
if it is available */
|
||||
if (port->serial->type->ioctl) {
|
||||
retval = port->serial->type->ioctl(tty, file, cmd, arg);
|
||||
retval = port->serial->type->ioctl(tty, cmd, arg);
|
||||
} else
|
||||
retval = -ENOIOCTLCMD;
|
||||
return retval;
|
||||
|
Reference in New Issue
Block a user