Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bd83fbde authored by Michael Ellerman's avatar Michael Ellerman Committed by Paul Mackerras
Browse files

[POWERPC] Remove bogus comment in dma_direct_alloc_coherent()



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

Signed-off-by: default avatarMichael Ellerman <michael@ellerman.id.au>
Acked-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent 31d1b493
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;