Skip to content

Commit

Permalink
staging: android: ion: Remove leftover comment
Browse files Browse the repository at this point in the history
Since we use CMA APIs directly there is no device nor private heaps data,
drop this comment.

Fixes: 204f672 ("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>
  • Loading branch information
Andrew F. Davis authored and Greg Kroah-Hartman committed Jan 18, 2019
1 parent 4514e79 commit 6e42d12
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/staging/android/ion/ion_cma_heap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6e42d12

Please sign in to comment.