1
0
Fork 0

[POWERPC] Remove bogus comment in dma_direct_alloc_coherent()

Since commit c80d9133e9 (Make direct DMA use
node local allocations) went in this comment makes no sense.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
hifive-unleashed-5.1
Michael Ellerman 2008-01-21 16:42:49 +11:00 committed by Paul Mackerras
parent 31d1b49323
commit bd83fbde5b
1 changed files with 0 additions and 1 deletions

View File

@ -130,7 +130,6 @@ static void *dma_direct_alloc_coherent(struct device *dev, size_t size,
void *ret;
int node = dev->archdata.numa_node;
/* TODO: Maybe use the numa node here too ? */
page = alloc_pages_node(node, flag, get_order(size));
if (page == NULL)
return NULL;