summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/hfi1/file_ops.c
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2018-06-03 17:32:22 +0800
committerJason Gunthorpe <jgg@mellanox.com>2018-06-04 10:50:04 -0600
commit8c61b24585c44e1de337e45858129abce9c3a008 (patch)
treebb47f261166b8d4ab32458ba2c270407428a532e /drivers/infiniband/hw/hfi1/file_ops.c
parentcb2595c1393b4a5211534e6f0a0fbad369e21ad8 (diff)
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/file_ops.c')
0 files changed, 0 insertions, 0 deletions