tty: dont needlessly cast kmalloc() return value
authorJesper Juhl <jesper.juhl@gmail.com>
Fri, 24 Aug 2007 00:28:42 +0000 (02:28 +0200)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 24 Aug 2007 04:39:41 +0000 (21:39 -0700)
commitabcb1ff326bfe74f3611d7de653276540ea060dd
tree20a4dbbb18b30153863654d94ea833ca39bfd8d4
parent87bd1e9aaf067050bd88b3219b1582e8f67f7b87
tty: dont needlessly cast kmalloc() return value

kmalloc() hands us a void pointer, we don't need to cast it.

Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/tty_io.c