Julia Lawall ed38c33f1c xprtrdma: drop double zeroing
sg_init_table zeroes its first argument, so the allocation of that argument
doesn't have to.

the semantic patch that makes this change is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@@
expression x,n,flags;
@@

x =
- kcalloc
+ kmalloc_array
  (n,sizeof(*x),flags)
...
sg_init_table(x,n)
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Acked-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2020-09-21 12:15:25 -04:00
..
2020-08-25 07:50:25 -07:00
2020-06-23 20:27:09 -07:00
2020-08-28 20:11:38 +02:00
2020-08-27 07:55:59 -07:00
2020-09-21 12:15:25 -04:00
2020-07-13 17:20:40 -07:00
2020-08-11 10:20:34 -07:00
2020-08-27 07:55:59 -07:00