]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[IB] kzalloc() conversions
authorRoland Dreier <rolandd@cisco.com>
Wed, 2 Nov 2005 15:23:14 +0000 (07:23 -0800)
committerRoland Dreier <rolandd@cisco.com>
Wed, 2 Nov 2005 15:23:14 +0000 (07:23 -0800)
commitde6eb66b56d9df5ce6bd254994f05e065214e8cd
tree7463446a05b5e9a5d2fc400da0be8d4a6c2ff6f1
parent7b28b0d000eeb62d77add636f5d6eb0da04e48aa
[IB] kzalloc() conversions

Replace kmalloc()+memset(,0,) with kzalloc(), for a net savings of 35
source lines and about 500 bytes of text.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/agent.c
drivers/infiniband/core/cm.c
drivers/infiniband/core/device.c
drivers/infiniband/core/mad.c
drivers/infiniband/core/sysfs.c
drivers/infiniband/core/ucm.c
drivers/infiniband/core/uverbs_main.c
drivers/infiniband/hw/mthca/mthca_mr.c
drivers/infiniband/hw/mthca/mthca_profile.c
drivers/infiniband/ulp/ipoib/ipoib_main.c
drivers/infiniband/ulp/ipoib/ipoib_multicast.c