diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2019-01-14 22:40:58 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-01-15 16:08:04 +0100 |
commit | 891fd847605d4d7e8aef07db39f1868b5a70e047 (patch) | |
tree | be143bbb1abe39b91eea2f97ce896201bcf9dafd /drivers/staging/comedi | |
parent | e6718f686ed4b9e48c26bf3cda220a2c98df20e3 (diff) |
staging: rtl8188eu: Replace kzalloc with kcalloc
Replace kzalloc() function with its 2-factor argument form, kcalloc().
This patch replaces cases of:
kzalloc(a * b, gfp)
with:
kcalloc(a, b, gfp)
This code was detected with the help of Coccinelle.
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/comedi')
0 files changed, 0 insertions, 0 deletions