staging: vt6655: s/kmalloc + memset/kzalloc in alloc_rd_info
authorDevendra Naga <devendra.aaru@gmail.com>
Tue, 8 Jan 2013 17:52:32 +0000 (12:52 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Jan 2013 21:17:03 +0000 (13:17 -0800)
replace kmalloc and memset if the pointer is valid with kzalloc,
and remove the check around the null pointer cases as we dont need it.

Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

No differences found