summaryrefslogtreecommitdiffstats
path: root/net/can/af_can.h
diff options
context:
space:
mode:
authorJulia Lawall <julia@diku.dk>2009-12-18 21:16:52 +0000
committerDavid S. Miller <davem@davemloft.net>2010-01-03 21:22:28 -0800
commit75ed0a897208c3273fd8dc0f71e1417dba5a049b (patch)
treec3da4c442889ab88f10c273a7e901da4b2a16261 /net/can/af_can.h
parent1f3c8804acba841b5573b953f5560d2683d2db0d (diff)
downloadop-kernel-dev-75ed0a897208c3273fd8dc0f71e1417dba5a049b.zip
op-kernel-dev-75ed0a897208c3273fd8dc0f71e1417dba5a049b.tar.gz
drivers/net/cxgb3: Use kzalloc for allocating only one thing
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>
Diffstat (limited to 'net/can/af_can.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud