Re: [PATCH] RDMA/bnxt_re: remove unnecessary call to memset

2017-08-28 Thread Doug Ledford
On Fri, 2017-08-25 at 21:41 +0530, Himanshu Jha wrote: > 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 Thanks, applied. -- Doug Ledford GPG KeyID: B8

Re: [PATCH] RDMA/bnxt_re: remove unnecessary call to memset

2017-08-27 Thread Yuval Shaia
On Fri, Aug 25, 2017 at 09:41:02PM +0530, Himanshu Jha wrote: > 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 > --- > drivers/infiniband/hw/bnxt_re/ib_verbs

[PATCH] RDMA/bnxt_re: remove unnecessary call to memset

2017-08-25 Thread Himanshu Jha
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 --- drivers/infiniband/hw/bnxt_re/ib_verbs.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/infiniband/h