Skip to content
Commit 658c74cf authored by Rakib Mullick's avatar Rakib Mullick Committed by Linus Torvalds
Browse files

drivers/char/mspec.c: use {k,v}zalloc to allocate memory



Let memory allocator initialize the allocated memory as null, thus remove
the use of memset.

Signed-off-by: default avatarRakib Mullick <rakib.mullick@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 07412736
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment