]> 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)
commitca0f79bb7e236a4f68df7c3cc7041c3442c16489
tree41c9e2d66879f196db4dfb861a33ac5755e42334
parentf25dc73064bfd6bf12421899d284f0acd9d7a857
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