Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=fa0e6721e7931f5bb0293db982b327b0dff97596
Commit:     fa0e6721e7931f5bb0293db982b327b0dff97596
Parent:     0d4cbb5e7f60b2f1a4d8b7f6ea4cc264262c7a01
Author:     Alan Cox <[EMAIL PROTECTED]>
AuthorDate: Wed Aug 22 23:11:06 2007 +0100
Committer:  Greg Kroah-Hartman <[EMAIL PROTECTED]>
CommitDate: Tue Sep 11 07:48:13 2007 -0700

    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 <[EMAIL PROTECTED]>
    Cc: stable <[EMAIL PROTECTED]>
    Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
 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 833ada4..64f3f66 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;
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to