[BNX2]: Combine small mem allocations
authorMichael Chan <mchan@broadcom.com>
Thu, 23 Mar 2006 09:12:38 +0000 (01:12 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Mar 2006 09:12:38 +0000 (01:12 -0800)
Combine two small (56 byte and 320 byte) pci consistent memory
allocations into one allocation. Jeff Garzik suggested to store
the combined size in the bp structure for later use when freeing
the memory.

Use kzalloc() instead of kmalloc() + memset().

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found