Skip to content

Commit

Permalink
USB: oti6858: fix TCFLSH ioctl handling
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Paulius Zaleckas authored and Greg Kroah-Hartman committed Apr 25, 2008
1 parent 21da84a commit 97af0a9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/usb/serial/oti6858.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 97af0a9

Please sign in to comment.