mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
ANDROID: ion: Remove unused local variable 'vaddr'
Remove definition of unused local variable 'vaddr' in
ion_dma_buf_begin_cpu_access() to avoid the following compiler
warning:
drivers/staging/android/ion/ion_dma_buf.c:166:8: warning: unused variable 'vaddr' [-Wunused-variable]
void *vaddr;
^
Bug: 158635261
Fixes: b8018578d1c3 ("ANDROID: ion: remove kmap from begin[end]_cpu_access")
Signed-off-by: Daniel Mentz <danielmentz@google.com>
Change-Id: I0b9061651c9349420018169eeda152e53b9b7f95
This commit is contained in:
parent
0eb5f60e7d
commit
c7257f6249
1 changed files with 0 additions and 1 deletions
|
|
@ -163,7 +163,6 @@ static int ion_dma_buf_begin_cpu_access(struct dma_buf *dmabuf,
|
|||
{
|
||||
struct ion_buffer *buffer = dmabuf->priv;
|
||||
struct ion_heap *heap = buffer->heap;
|
||||
void *vaddr;
|
||||
struct ion_dma_buf_attachment *a;
|
||||
|
||||
if (heap->buf_ops.begin_cpu_access)
|
||||
|
|
|
|||
Loading…
Reference in a new issue