staging: rtlwifi: use kcalloc instead of multiply

checkpatch emits multiple warnings of type

WARNING:ALLOC_WITH_MULTIPLY: Prefer kcalloc over kzalloc with multiply

Replace two calls to kzalloc() with calls to kcalloc().

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Tobin C. Harding 2017-09-05 16:53:43 +10:00 • committed by Greg Kroah-Hartman
commit 85d309d53f