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:
Alan Cox
2011-02-14 16:27:06 +00:00
committed by Greg Kroah-Hartman
parent 20b9d17715
commit 00a0d0d65b
22 changed files with 29 additions and 30 deletions

View File

@@ -396,7 +396,7 @@ static int get_serial_info(struct opticon_private *priv,
return 0;
}
static int opticon_ioctl(struct tty_struct *tty, struct file *file,
static int opticon_ioctl(struct tty_struct *tty,
unsigned int cmd, unsigned long arg)
{
struct usb_serial_port *port = tty->driver_data;