summaryrefslogtreecommitdiff
path: root/drivers/net/myri10ge
diff options
context:
space:
mode:
authorMika Westerberg <mika.westerberg@iki.fi>2011-06-11 08:39:56 +0000
committerDavid S. Miller <davem@davemloft.net>2011-06-11 16:25:15 -0700
commit3247a1fcee49b571b40c4bd723439ce5c64f56ad (patch)
treea84736c6e3522d42597f8501675fa845d586f473 /drivers/net/myri10ge
parentfc9b4910b00039da054f221e2821be0519261101 (diff)
net: ep93xx_eth: allocate buffers using kmalloc()
We can use simply kmalloc() to allocate the buffers. This also simplifies the code and allows us to perform DMA sync operations more easily. Memory is allocated with only GFP_KERNEL since there are no DMA allocation restrictions on this platform. Signed-off-by: Mika Westerberg <mika.westerberg@iki.fi> Acked-by: Russell King <rmk+kernel@arm.linux.org.uk> Acked-by: H Hartley Sweeten <hsweeten@visionengravers.com> Tested-by: Petr Stetiar <ynezz@true.cz> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/myri10ge')
0 files changed, 0 insertions, 0 deletions