nozomi, remove void * casts

Signed-off-by: Jiri Slaby <[EMAIL PROTECTED]>

---
commit 92ca82bcbd5dde95096dac24d0f6a9beab68e003
tree 748ac937f772410b364245897492b693491743f6
parent 1ab5d64fc4a2dd7a50b8971c67b9793511b4c47a
author Jiri Slaby <[EMAIL PROTECTED]> Mon, 05 Nov 2007 15:28:46 +0100
committer Jiri Slaby <[EMAIL PROTECTED]> Sat, 10 Nov 2007 00:15:05 +0100

 drivers/char/nozomi.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/char/nozomi.c b/drivers/char/nozomi.c
index e87ded2..0735df0 100644
--- a/drivers/char/nozomi.c
+++ b/drivers/char/nozomi.c
@@ -1752,7 +1752,7 @@ static int ntty_write(struct tty_struct *tty, const 
unsigned char *buffer,
 {
        int rval = -EINVAL;
        struct nozomi *dc = get_dc_by_tty(tty);
-       struct port *port = (struct port *)tty->driver_data;
+       struct port *port = tty->driver_data;
        unsigned long flags;
 
        /* DBG1( "WRITEx: %d, index = %d", count, index); */
@@ -1811,7 +1811,7 @@ exit:
  */
 static int ntty_write_room(struct tty_struct *tty)
 {
-       struct port *port = (struct port *)tty->driver_data;
+       struct port *port = tty->driver_data;
        int room = 0;
        struct nozomi *dc = get_dc_by_tty(tty);
 
@@ -1966,7 +1966,7 @@ static void ntty_put_char(struct tty_struct *tty, 
unsigned char c)
 /* Returns number of chars in buffer, called by tty layer */
 static s32 ntty_chars_in_buffer(struct tty_struct *tty)
 {
-       struct port *port = (struct port *)tty->driver_data;
+       struct port *port = tty->driver_data;
        struct nozomi *dc = get_dc_by_tty(tty);
        s32 rval;
 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to