diff options
author | YueHaibing <yuehaibing@huawei.com> | 2018-06-03 17:32:22 +0800 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-06-04 10:50:04 -0600 |
commit | 8c61b24585c44e1de337e45858129abce9c3a008 (patch) | |
tree | bb47f261166b8d4ab32458ba2c270407428a532e /drivers/infiniband/hw/hfi1/init.c | |
parent | cb2595c1393b4a5211534e6f0a0fbad369e21ad8 (diff) | |
download | lwn-8c61b24585c44e1de337e45858129abce9c3a008.tar.gz lwn-8c61b24585c44e1de337e45858129abce9c3a008.zip |
IB/hns: Use zeroing memory allocator instead of allocator/memset
Use dma_zalloc_coherent for allocating zeroed memory and
remove unnecessary memset function.
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw/hfi1/init.c')
0 files changed, 0 insertions, 0 deletions