drivers:net: dma_alloc_coherent: use __GFP_ZERO instead of memset(, 0)
authorJoe Perches <joe@perches.com>
Fri, 15 Mar 2013 07:23:58 +0000 (07:23 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 17 Mar 2013 16:50:24 +0000 (12:50 -0400)
Reduce the number of calls required to alloc
a zeroed block of memory.

Trivially reduces overall object size.

Other changes around these removals
o Neaten call argument alignment
o Remove an unnecessary OOM message after dma_alloc_coherent failure
o Remove unnecessary gfp_t stack variable

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found