diff options
author | Fuqian Huang <huangfq.daxian@gmail.com> | 2019-06-28 10:50:35 +0800 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-06-28 10:20:39 +0200 |
commit | 2f02a7ecd512288c40bd72bdd4d87ab4f01c1615 (patch) | |
tree | b52dd965b6da75badb3f3d0a39a531b1fc85f973 /include/net/iw_handler.h | |
parent | e9bea8f98a539080070e3eff70a1731ce0ffdc8d (diff) | |
download | linux-2f02a7ecd512288c40bd72bdd4d87ab4f01c1615.tar.bz2 |
kernel: power: swap: use kzalloc() instead of kmalloc() followed by memset()
Use zeroing allocator instead of using allocator
followed with memset with 0
Signed-off-by: Fuqian Huang <huangfq.daxian@gmail.com>
Acked-by: Pavel Machek <pavel@ucw.cz>
[ rjw: Subject ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/net/iw_handler.h')
0 files changed, 0 insertions, 0 deletions