staging: android: ion: Remove leftover comment
authorAndrew F. Davis <afd@ti.com>
Fri, 11 Jan 2019 18:05:13 +0000 (12:05 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Jan 2019 09:42:27 +0000 (10:42 +0100)
Since we use CMA APIs directly there is no device nor private heaps data,
drop this comment.

Fixes: 204f672255c2 ("staging: android: ion: Use CMA APIs directly")
Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/ion/ion_cma_heap.c

index 7b557dd..bf65e67 100644 (file)
@@ -111,10 +111,6 @@ static struct ion_heap *__ion_cma_heap_create(struct cma *cma)
                return ERR_PTR(-ENOMEM);
 
        cma_heap->heap.ops = &ion_cma_ops;
-       /*
-        * get device from private heaps data, later it will be
-        * used to make the link with reserved CMA memory
-        */
        cma_heap->cma = cma;
        cma_heap->heap.type = ION_HEAP_TYPE_DMA;
        return &cma_heap->heap;