staging: rtlwifi: use kcalloc instead of multiply
authorTobin C. Harding <me@tobin.cc>
Tue, 5 Sep 2017 06:53:43 +0000 (16:53 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 17 Sep 2017 14:35:26 +0000 (16:35 +0200)
commit85d309d53f7a6ecbe227a43c1aa2fdc31e2edd00
tree46bb6925f4d83cfcc28721d78242a6ed55a80605
parent63fcb0ce01ce43ba41474b483a090a4a4c6fc11b
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>
drivers/staging/rtlwifi/efuse.c