USB: oti6858: fix TCFLSH ioctl handling

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>
This commit is contained in:
Paulius Zaleckas 2008-04-10 14:20:08 +03:00 committed by Greg Kroah-Hartman
parent 21da84a893
commit 97af0a911b

View File

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