aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/oti6858.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/serial/oti6858.c')
-rw-r--r--drivers/usb/serial/oti6858.c15
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,
817 __FUNCTION__, port->number, cmd, arg); 817 __FUNCTION__, port->number, cmd, arg);
818 818
819 switch (cmd) { 819 switch (cmd) {
820 case TCGETS:
821 if (kernel_termios_to_user_termios((struct ktermios __user *)arg,
822 port->tty->termios))
823 return -EFAULT;
824 return 0;
825
826 case TCSETS:
827 case TCSETSW: /* FIXME: this is not the same! */
828 case TCSETSF: /* FIXME: this is not the same! */
829 if (user_termios_to_kernel_termios(port->tty->termios,
830 (struct ktermios __user *)arg))
831 return -EFAULT;
832 oti6858_set_termios(port, NULL);
833 return 0;
834
835 case TCFLSH: 820 case TCFLSH:
836 /* FIXME */ 821 /* FIXME */
837 return 0; 822 return 0;