mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-30 14:19:16 +00:00
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>
This commit is contained in:
parent
edf5e79422
commit
9c4e5271f8
1 changed files with 0 additions and 2 deletions
|
@ -44,7 +44,6 @@
|
||||||
* @lock: protects the buffers cnt fields
|
* @lock: protects the buffers cnt fields
|
||||||
* @kmap_cnt: number of times the buffer is mapped to the kernel
|
* @kmap_cnt: number of times the buffer is mapped to the kernel
|
||||||
* @vaddr: the kernel mapping if kmap_cnt is not zero
|
* @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
|
* @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
|
* @pages: flat array of pages in the buffer -- used by fault
|
||||||
* handler and only valid for buffers that are faulted in
|
* handler and only valid for buffers that are faulted in
|
||||||
|
@ -70,7 +69,6 @@ struct ion_buffer {
|
||||||
struct mutex lock;
|
struct mutex lock;
|
||||||
int kmap_cnt;
|
int kmap_cnt;
|
||||||
void *vaddr;
|
void *vaddr;
|
||||||
int dmap_cnt;
|
|
||||||
struct sg_table *sg_table;
|
struct sg_table *sg_table;
|
||||||
struct page **pages;
|
struct page **pages;
|
||||||
struct list_head vmas;
|
struct list_head vmas;
|
||||||
|
|
Loading…
Reference in a new issue