diff options
author | Alan Cox <alan@redhat.com> | 2009-01-02 13:47:26 +0000 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-01-02 10:19:40 -0800 |
commit | c9f19e96a2f33cd56c2bd19f87a0c4982d011c2b (patch) | |
tree | 7ebb5f6e6648e7e8eb975944d4a18aadb05851bf /drivers/char/ser_a2232.c | |
parent | 0ac6053c4db9369d7b0f9b39c30f4fb04405666b (diff) | |
download | kernel_samsung_tuna-c9f19e96a2f33cd56c2bd19f87a0c4982d011c2b.zip kernel_samsung_tuna-c9f19e96a2f33cd56c2bd19f87a0c4982d011c2b.tar.gz kernel_samsung_tuna-c9f19e96a2f33cd56c2bd19f87a0c4982d011c2b.tar.bz2 |
tty: Remove some pointless casts
disc_data and driver_data are void *
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char/ser_a2232.c')
-rw-r--r-- | drivers/char/ser_a2232.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/ser_a2232.c b/drivers/char/ser_a2232.c index 0c97f34..33872a2 100644 --- a/drivers/char/ser_a2232.c +++ b/drivers/char/ser_a2232.c @@ -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; } |