staging: rtl8192u: use kzalloc to allocate firmware pointer
authorDevendra Naga <devendra.aaru@gmail.com>
Sun, 26 Aug 2012 05:36:33 +0000 (11:06 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Sep 2012 21:09:02 +0000 (14:09 -0700)
commitb7553423cde0cb49a35fabcb15f83688c01ce400
tree6e951fdd777bdefd87ed19c7685eff1a1e928bd1
parent3cd84fbd667d1dd01209b8c30a3a8525e8a99e63
staging: rtl8192u: use kzalloc to allocate firmware pointer

the firmware pointer is allocated with kmalloc and memset,
instead we can just do a kzalloc which will return a memory that
has been memset.

Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/r8192U_core.c