]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[POWERPC] Remove bogus comment in dma_direct_alloc_coherent()
authorMichael Ellerman <michael@ellerman.id.au>
Mon, 21 Jan 2008 05:42:49 +0000 (16:42 +1100)
committerPaul Mackerras <paulus@samba.org>
Fri, 25 Jan 2008 11:52:54 +0000 (22:52 +1100)
Since commit c80d9133e99de1af607314107910a2a1645efb17 (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>
arch/powerpc/kernel/dma_64.c

index 72fdc06df51e7496c55780aa94acb40d6846e2b1..84239076a5b8e8092e7ad2d607ba16b0e0cff7a9 100644 (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;