diff options
author | Alan Cox <alan@redhat.com> | 2009-01-02 14:47:26 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-01-02 19:19:40 +0100 |
commit | c9f19e96a2f33cd56c2bd19f87a0c4982d011c2b (patch) | |
tree | 7ebb5f6e6648e7e8eb975944d4a18aadb05851bf /drivers/char/generic_serial.c | |
parent | tty: PTYs set TTY_DO_WRITE_WAKEUP when they don't need to (diff) | |
download | linux-c9f19e96a2f33cd56c2bd19f87a0c4982d011c2b.tar.xz linux-c9f19e96a2f33cd56c2bd19f87a0c4982d011c2b.zip |
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/generic_serial.c')
-rw-r--r-- | drivers/char/generic_serial.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/generic_serial.c b/drivers/char/generic_serial.c index 2f040d1ed89f..9e4e569dc00d 100644 --- a/drivers/char/generic_serial.c +++ b/drivers/char/generic_serial.c @@ -511,7 +511,7 @@ void gs_close(struct tty_struct * tty, struct file * filp) func_enter (); - port = (struct gs_port *) tty->driver_data; + port = tty->driver_data; if (!port) return; |