diff options
author | Andy Shevchenko <[email protected]> | 2021-11-22 19:17:20 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2021-11-23 12:09:07 +0000 |
commit | b00bab9d48bbb6446a5cf366f5f8e501a16031a1 (patch) | |
tree | 7380ef93c5444e41b63ef3ce26986d5f6a120960 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 49cd1eb37b487036f51bd57b591f7b5760a10e02 (diff) |
spi: Replace memset() with __GFP_ZERO
krealloc() as any other kernel memory allocation calls accepts GFP flags,
one of which is __GFP_ZERO. Hence, no need to call memset() explicitly on
the reallocated buffer.
Signed-off-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions