diff options
author | Tobin C. Harding <me@tobin.cc> | 2017-12-29 16:31:05 +0800 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2018-01-08 19:07:42 +0200 |
commit | 6c726f36cbf5b8b16ec07458d7c2ff1cc2d83d1f (patch) | |
tree | 819631a0b7430c67b06f0b645153b08876588b27 /drivers/net/wireless/realtek/rtlwifi/debug.c | |
parent | 634f6b95be5f52e866fd68e96b97abab5c148673 (diff) |
rtlwifi: use kcalloc instead of multiply
This is merged by Ping-Ke Shih from commit 85d309d53f7a ("staging:
rtlwifi: use kcalloc instead of multiply"), and original commit log
is reserved below.
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>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/realtek/rtlwifi/debug.c')
0 files changed, 0 insertions, 0 deletions