[PATCH] drivers/char/[i]stallion: Clean up kmalloc usage
authorTobias Klauser <tklauser@nuerscht.ch>
Fri, 31 Mar 2006 10:30:56 +0000 (02:30 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 31 Mar 2006 20:18:56 +0000 (12:18 -0800)
commitb0b4ed728cdd0c7204392b0c18857e4a99917aa5
treecfb0dd03b93ac310f5f02a0452cb83bf7e6628ef
parent993dfa8776308dcfd311cf77a3bbed4aa11e9868
[PATCH] drivers/char/[i]stallion: Clean up kmalloc usage

Delete two useless kmalloc wrappers and use kmalloc/kzalloc.  Some weird
NULL checks are also simplified.

Signed-off-by: Tobias Klauser <tklauser@nuerscht.ch>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/istallion.c
drivers/char/stallion.c