[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>
This commit is contained in:
Родитель
31d1b49323
Коммит
bd83fbde5b
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче