RDMA/bnxt_re: remove unnecessary call to memset
authorHimanshu Jha <[email protected]>
Fri, 25 Aug 2017 16:11:02 +0000 (21:41 +0530)
committerDoug Ledford <[email protected]>
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 <[email protected]>
Reviewed-by: Yuval Shaia <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
drivers/infiniband/hw/bnxt_re/ib_verbs.c