]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/char/sx.c
tty: Remove some pointless casts
[linux-2.6-omap-h63xx.git] / drivers / char / sx.c
index a71bc58abe7fcd66f578b9d91820e35c4eedd099..b60be7b0decf277f3220898a27906ed0c4d7e79b 100644 (file)
@@ -1941,7 +1941,7 @@ static int sx_ioctl(struct tty_struct *tty, struct file *filp,
 
 static void sx_throttle(struct tty_struct *tty)
 {
-       struct sx_port *port = (struct sx_port *)tty->driver_data;
+       struct sx_port *port = tty->driver_data;
 
        func_enter2();
        /* If the port is using any type of input flow
@@ -1955,7 +1955,7 @@ static void sx_throttle(struct tty_struct *tty)
 
 static void sx_unthrottle(struct tty_struct *tty)
 {
-       struct sx_port *port = (struct sx_port *)tty->driver_data;
+       struct sx_port *port = tty->driver_data;
 
        func_enter2();
        /* Always unthrottle even if flow control is not enabled on