tty_io: Use kzalloc
authorJean Delvare <khali@linux-fr.org>
Mon, 16 Jul 2007 06:40:14 +0000 (23:40 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 16 Jul 2007 16:05:43 +0000 (09:05 -0700)
commit506eb99a26e7af8b649faa135f648d1a2f1e4cdc
tree65cad159d4d16408d6fc5415a9ba9a0649c3be36
parente8d6c554126b830217c5e9f549e0e21f865a0a8a
tty_io: Use kzalloc

Also remove needless casts.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/tty_io.c