aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/android
diff options
context:
space:
mode:
authorAndrew F. Davis <afd@ti.com>2019-01-11 12:05:13 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-01-18 10:42:27 +0100
commit6e42d12ce0dac1834767c2128444935b3a4f3322 (patch)
tree3f4106627b7d2343f510ebd13db0291513615c27 /drivers/staging/android
parentstaging: android: ion: Merge ion-ioctl.c into ion.c (diff)
downloadlinux-dev-6e42d12ce0dac1834767c2128444935b3a4f3322.tar.xz
linux-dev-6e42d12ce0dac1834767c2128444935b3a4f3322.zip
staging: android: ion: Remove leftover comment
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>
Diffstat (limited to 'drivers/staging/android')
-rw-r--r--drivers/staging/android/ion/ion_cma_heap.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/android/ion/ion_cma_heap.c b/drivers/staging/android/ion/ion_cma_heap.c
index 7b557dd5e78b..bf65e67ef9d8 100644
--- a/drivers/staging/android/ion/ion_cma_heap.c
+++ b/drivers/staging/android/ion/ion_cma_heap.c
@@ -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;