diff options
author | Laura Abbott | 2017-04-03 20:57:45 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2017-04-08 12:34:27 +0200 |
commit | 9c4e5271f8aa78abeaac982f8dbf1c5d1313139d (patch) | |
tree | 7d74f2259ca936fbb92677f4f2827a90e1a6985f /drivers | |
parent | Merge tag 'iio-for-4.12c' of git://git.kernel.org/pub/scm/linux/kernel/git/ji... (diff) | |
download | kernel-qcow2-linux-9c4e5271f8aa78abeaac982f8dbf1c5d1313139d.tar.gz kernel-qcow2-linux-9c4e5271f8aa78abeaac982f8dbf1c5d1313139d.tar.xz kernel-qcow2-linux-9c4e5271f8aa78abeaac982f8dbf1c5d1313139d.zip |
staging: android: ion: Remove dmap_cnt
The reference counting of dma_map calls was removed. Remove the
associated counter field as well.
Signed-off-by: Laura Abbott <labbott@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/android/ion/ion_priv.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/android/ion/ion_priv.h b/drivers/staging/android/ion/ion_priv.h index 5b3059c78431..46d3ff5087c2 100644 --- a/drivers/staging/android/ion/ion_priv.h +++ b/drivers/staging/android/ion/ion_priv.h @@ -44,7 +44,6 @@ * @lock: protects the buffers cnt fields * @kmap_cnt: number of times the buffer is mapped to the kernel * @vaddr: the kernel mapping if kmap_cnt is not zero - * @dmap_cnt: number of times the buffer is mapped for dma * @sg_table: the sg table for the buffer if dmap_cnt is not zero * @pages: flat array of pages in the buffer -- used by fault * handler and only valid for buffers that are faulted in @@ -70,7 +69,6 @@ struct ion_buffer { struct mutex lock; int kmap_cnt; void *vaddr; - int dmap_cnt; struct sg_table *sg_table; struct page **pages; struct list_head vmas; |