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
@@ -859,7 +859,7 @@ static void ftdi_set_termios(struct tty_struct *tty,
|
||||
static int ftdi_tiocmget(struct tty_struct *tty);
|
||||
static int ftdi_tiocmset(struct tty_struct *tty,
|
||||
unsigned int set, unsigned int clear);
|
||||
static int ftdi_ioctl(struct tty_struct *tty, struct file *file,
|
||||
static int ftdi_ioctl(struct tty_struct *tty,
|
||||
unsigned int cmd, unsigned long arg);
|
||||
static void ftdi_break_ctl(struct tty_struct *tty, int break_state);
|
||||
|
||||
@@ -2210,7 +2210,7 @@ static int ftdi_tiocmset(struct tty_struct *tty,
|
||||
return update_mctrl(port, set, clear);
|
||||
}
|
||||
|
||||
static int ftdi_ioctl(struct tty_struct *tty, struct file *file,
|
||||
static int ftdi_ioctl(struct tty_struct *tty,
|
||||
unsigned int cmd, unsigned long arg)
|
||||
{
|
||||
struct usb_serial_port *port = tty->driver_data;
|
||||
|
Reference in New Issue
Block a user