]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
USB: oti6858: fix TCFLSH ioctl handling
authorPaulius Zaleckas <paulius.zaleckas@teltonika.lt>
Thu, 10 Apr 2008 11:20:08 +0000 (14:20 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 25 Apr 2008 04:16:49 +0000 (21:16 -0700)
Removes unimplemented TCFLSH handling from oti6858, because it was
preventing TCFLSH handling by upper layer (line discipline) drivers (see
drivers/char/tty_io.c line 3450).

Signed-off-by: Paulius Zaleckas <paulius.zaleckas@teltonika.lt>
Acked-by: Alan Cox <alan@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/oti6858.c

index a3847d6c946eac309fe899b8698cdb34bbe29276..8acc907a31817d3fcf84d76b0a6ea3de48c6fae9 100644 (file)
@@ -814,10 +814,6 @@ static int oti6858_ioctl(struct usb_serial_port *port, struct file *file,
                                __FUNCTION__, port->number, cmd, arg);
 
        switch (cmd) {
-               case TCFLSH:
-                       /* FIXME */
-                       return 0;
-
                case TIOCMBIS:
                        if (copy_from_user(&x, user_arg, sizeof(x)))
                                return -EFAULT;