commit | 1f9061d27d3d2028805549c4a306324a48209057 | [log] [tgz] |
---|---|---|
author | Joe Perches <joe@perches.com> | Fri Mar 15 07:23:58 2013 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sun Mar 17 12:50:24 2013 -0400 |
tree | 7cfb1a92933f5a9bba6745b68b6a964d9e757ef9 | |
parent | 7f9421c264f8a6e6137027a45ae576517f66fa56 [diff] |
drivers:net: dma_alloc_coherent: use __GFP_ZERO instead of memset(, 0) 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>