]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/char/ser_a2232.c
tty: Remove some pointless casts
[linux-2.6-omap-h63xx.git] / drivers / char / ser_a2232.c
index 0c97f34df63aa3d07cc268f9bcce3dee7c9ad6a2..33872a219df6b57355f5dd1eb5e988f9e8bb89d3 100644 (file)
@@ -460,14 +460,14 @@ static void a2232_throttle(struct tty_struct *tty)
    if switched on. So the only thing we can do at this
    layer here is not taking any characters out of the
    A2232 buffer any more. */
-       struct a2232_port *port = (struct a2232_port *) tty->driver_data;
+       struct a2232_port *port = tty->driver_data;
        port->throttle_input = -1;
 }
 
 static void a2232_unthrottle(struct tty_struct *tty)
 {
 /* Unthrottle: dual to "throttle()" above. */
-       struct a2232_port *port = (struct a2232_port *) tty->driver_data;
+       struct a2232_port *port = tty->driver_data;
        port->throttle_input = 0;
 }