staging: r8188eu: Prefer kcalloc over kzalloc
authorKang Minchul <tegongkang@gmail.com>
Fri, 16 Dec 2022 22:39:42 +0000 (07:39 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Jan 2023 18:31:05 +0000 (19:31 +0100)
commit799468fb50e799552ad18e3774c80a56975157b7
treeec5b2b3e926d4e879f40851f60eff780b79d5b67
parent1cd8fbfafdfa345e01f9ff434e6a63a3cbb37210
staging: r8188eu: Prefer kcalloc over kzalloc

Fixed following checkpatch.pl warning:
 * WARNING: Prefer kcalloc over kzalloc with multiply

Instead of specifying (number of bytes) * (size) as arugment
in kzalloc, prefer kcalloc.

Signed-off-by: Kang Minchul <tegongkang@gmail.com>
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150
Reviewed-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20221216223942.334221-1-tegongkang@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_xmit.c