]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/usb/serial/usb-serial.c
tty: remove filp from the USB tty ioctls
[mv-sheeva.git] / drivers / usb / serial / usb-serial.c
index dab679e5b7ea3e46f0c67e6b409dc0f4f2a5733e..b1110e136c333ea56ba8b3e7c1ff6060c11cdad4 100644 (file)
@@ -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;