diff options
author | Alan Cox | 2007-08-23 00:11:06 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2007-09-11 16:48:13 +0200 |
commit | fa0e6721e7931f5bb0293db982b327b0dff97596 (patch) | |
tree | eaf93e7fc98616e8ab5467425e26cb9c73baaa81 | |
parent | Linux 2.6.23-rc6 (diff) | |
download | kernel-qcow2-linux-fa0e6721e7931f5bb0293db982b327b0dff97596.tar.gz kernel-qcow2-linux-fa0e6721e7931f5bb0293db982b327b0dff97596.tar.xz kernel-qcow2-linux-fa0e6721e7931f5bb0293db982b327b0dff97596.zip |
USB: oti6858: Remove broken ioctl code in -mm tree and also the broken fixes
This stuff is simply not needed.
Signed-off-by: Alan Cox <alan@redhat.com>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/usb/serial/oti6858.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/drivers/usb/serial/oti6858.c b/drivers/usb/serial/oti6858.c index 833ada47fc54..64f3f66a7a35 100644 --- a/drivers/usb/serial/oti6858.c +++ b/drivers/usb/serial/oti6858.c @@ -817,21 +817,6 @@ static int oti6858_ioctl(struct usb_serial_port *port, struct file *file, __FUNCTION__, port->number, cmd, arg); switch (cmd) { - case TCGETS: - if (kernel_termios_to_user_termios((struct ktermios __user *)arg, - port->tty->termios)) - return -EFAULT; - return 0; - - case TCSETS: - case TCSETSW: /* FIXME: this is not the same! */ - case TCSETSF: /* FIXME: this is not the same! */ - if (user_termios_to_kernel_termios(port->tty->termios, - (struct ktermios __user *)arg)) - return -EFAULT; - oti6858_set_termios(port, NULL); - return 0; - case TCFLSH: /* FIXME */ return 0; |