]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/usb/serial/oti6858.c
cxgb3 - Fatal error update
[linux-2.6-omap-h63xx.git] / drivers / usb / serial / oti6858.c
index d7db71eca5209bf386a8edc2286f232c0c8ed886..64f3f66a7a353b8962ad9dffb4f3a7b752f7b6c1 100644 (file)
@@ -817,23 +817,6 @@ static int oti6858_ioctl(struct usb_serial_port *port, struct file *file,
                                __FUNCTION__, port->number, cmd, arg);
 
        switch (cmd) {
-               case TCGETS:
-                       if (copy_to_user(user_arg, port->tty->termios,
-                                               sizeof(struct ktermios))) {
-                               return -EFAULT;
-                       }
-                       return 0;
-
-               case TCSETS:
-               case TCSETSW:   /* FIXME: this is not the same! */
-               case TCSETSF:   /* FIXME: this is not the same! */
-                       if (copy_from_user(port->tty->termios, user_arg,
-                                               sizeof(struct ktermios))) {
-                               return -EFAULT;
-                       }
-                       oti6858_set_termios(port, NULL);
-                       return 0;
-
                case TCFLSH:
                        /* FIXME */
                        return 0;