commit | c9f19e96a2f33cd56c2bd19f87a0c4982d011c2b | [log] [tgz] |
---|---|---|
author | Alan Cox <alan@redhat.com> | Fri Jan 02 13:47:26 2009 +0000 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Fri Jan 02 10:19:40 2009 -0800 |
tree | 7ebb5f6e6648e7e8eb975944d4a18aadb05851bf | |
parent | 0ac6053c4db9369d7b0f9b39c30f4fb04405666b [diff] [blame] |
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>
diff --git a/drivers/char/generic_serial.c b/drivers/char/generic_serial.c index 2f040d1..9e4e569 100644 --- a/drivers/char/generic_serial.c +++ b/drivers/char/generic_serial.c
@@ -511,7 +511,7 @@ func_enter (); - port = (struct gs_port *) tty->driver_data; + port = tty->driver_data; if (!port) return;