drivers/net/cxgb3: Use kzalloc for allocating only one thing
authorJulia Lawall <julia@diku.dk>
Fri, 18 Dec 2009 21:16:52 +0000 (21:16 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Jan 2010 05:22:28 +0000 (21:22 -0800)
Use kzalloc rather than kcalloc(1,...)

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

// <smpl>
@@
@@

- kcalloc(1,
+ kzalloc(
          ...)
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Acked-by: Divy Le Ray <divy@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found