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)
commit2d72d6c4ec1e3761e8cfc69d58d498b2dbe46341
tree41c9e2d66879f196db4dfb861a33ac5755e42334
parentd518a44d317d92f4c297ea26a308b1ac1a980d33
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