kmemleak: remove memset by using kzalloc
authorJesper Juhl <[email protected]>
Sat, 30 Oct 2010 21:43:05 +0000 (23:43 +0200)
committerCatalin Marinas <[email protected]>
Thu, 27 Jan 2011 18:31:51 +0000 (18:31 +0000)
commit0a08739e81671de2cb690774937fe510c000b27f
tree132c09b71ccb54cfbf26e7ee96f074783708b9c6
parent3c0eee3fe6a3a1c745379547c7e7c904aa64f6d5
kmemleak: remove memset by using kzalloc

We don't need to memset if we just use kzalloc() rather than kmalloc() in
kmemleak_test_init().

Signed-off-by: Jesper Juhl <[email protected]>
Reviewed-by: Minchan Kim <[email protected]>
Signed-off-by: Catalin Marinas <[email protected]>
mm/kmemleak-test.c