arch/cris: Remove unnecessary kmalloc casts
authorJoe Perches <joe@perches.com>
Tue, 8 Jun 2010 03:50:33 +0000 (20:50 -0700)
committerJiri Kosina <jkosina@suse.cz>
Wed, 16 Jun 2010 15:57:46 +0000 (17:57 +0200)
commit2fda16d79316eb37a3e0e09f0084623905221be8
treeeab1bc3fcc7acab325407e41032309b1bf8f4cf2
parentc20cbe46bd5c13444e30cefc997704514dc74cc5
arch/cris: Remove unnecessary kmalloc casts

And separate declaration from allocation
Still no error checking on failure, but it probably doesn't matter.

Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Jesper Nilsson <jesper.nilsson@axis.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
arch/cris/arch-v32/mm/intmem.c