]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/bnxt_re: remove unnecessary call to memset
authorHimanshu Jha <himanshujha199640@gmail.com>
Fri, 25 Aug 2017 16:11:02 +0000 (21:41 +0530)
committerDoug Ledford <dledford@redhat.com>
Mon, 28 Aug 2017 23:12:25 +0000 (19:12 -0400)
commitb27cb48440072b87ccf217c836f1b89096b0676b
tree41c9e2d66879f196db4dfb861a33ac5755e42334
parent375d46ff184202b9216bbb165bfb8fad49a32ba0
RDMA/bnxt_re: remove unnecessary call to memset

call to memset to assign 0 value immediately after allocating
memory with kzalloc is unnecesaary as kzalloc allocates the memory
filled with 0 value.

Signed-off-by: Himanshu Jha <himanshujha199640@gmail.com>
Reviewed-by: Yuval Shaia <yuval.shaia@oracle.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/bnxt_re/ib_verbs.c