IB: Remove unneeded memset
authorFuqian Huang <huangfq.daxian@gmail.com>
Fri, 28 Jun 2019 02:47:19 +0000 (10:47 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 3 Jul 2019 17:26:49 +0000 (14:26 -0300)
commit4c44d4634b5c90993fccca9f155347221df6f877
tree3f6c2c2cc31b0f8c6911b8a50aa63e7a57015995
parentc5cfcfcb54e7ab4b7ea9a755afd7131649d11331
IB: Remove unneeded memset

In commit af7ddd8a627c ("Merge tag 'dma-mapping-4.21' of
git://git.infradead.org/users/hch/dma-mapping"),
dma_alloc_coherent/dmam_alloc_coherent always zeroed the returned memory.
So the memset after a coherent allocation function is not needed.

Signed-off-by: Fuqian Huang <huangfq.daxian@gmail.com>
Reviewed-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/cxgb3/cxio_hal.c
drivers/infiniband/hw/cxgb4/cq.c
drivers/infiniband/hw/cxgb4/qp.c
drivers/infiniband/hw/hns/hns_roce_hw_v1.c
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
drivers/infiniband/hw/mthca/mthca_allocator.c
drivers/infiniband/hw/ocrdma/ocrdma_hw.c