提交 6e42d12c 编写于 作者: A Andrew F. Davis 提交者: Greg Kroah-Hartman

staging: android: ion: Remove leftover comment

Since we use CMA APIs directly there is no device nor private heaps data,
drop this comment.

Fixes: 204f6722 ("staging: android: ion: Use CMA APIs directly")
Signed-off-by: NAndrew F. Davis <afd@ti.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 4514e79e
...@@ -111,10 +111,6 @@ static struct ion_heap *__ion_cma_heap_create(struct cma *cma) ...@@ -111,10 +111,6 @@ static struct ion_heap *__ion_cma_heap_create(struct cma *cma)
return ERR_PTR(-ENOMEM); return ERR_PTR(-ENOMEM);
cma_heap->heap.ops = &ion_cma_ops; 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->cma = cma;
cma_heap->heap.type = ION_HEAP_TYPE_DMA; cma_heap->heap.type = ION_HEAP_TYPE_DMA;
return &cma_heap->heap; return &cma_heap->heap;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册