[PATCH v2 1/9] staging: android: ion: Remove unused declaration ion_buffer_fault_user_mappings
Yisheng Xie
xieyisheng1 at huawei.com
Mon Feb 12 10:43:06 UTC 2018
ion_buffer_fault_user_mappings's definition has been removed and not be
used anymore, just remove its useless declaration.
Acked-by: Laura Abbott <labbott at redhat.com>
Signed-off-by: Yisheng Xie <xieyisheng1 at huawei.com>
---
drivers/staging/android/ion/ion.h | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/drivers/staging/android/ion/ion.h b/drivers/staging/android/ion/ion.h
index a238f23..1bc443f 100644
--- a/drivers/staging/android/ion/ion.h
+++ b/drivers/staging/android/ion/ion.h
@@ -193,15 +193,6 @@ struct ion_heap {
bool ion_buffer_cached(struct ion_buffer *buffer);
/**
- * ion_buffer_fault_user_mappings - fault in user mappings of this buffer
- * @buffer: buffer
- *
- * indicates whether userspace mappings of this buffer will be faulted
- * in, this can affect how buffers are allocated from the heap.
- */
-bool ion_buffer_fault_user_mappings(struct ion_buffer *buffer);
-
-/**
* ion_device_add_heap - adds a heap to the ion device
* @heap: the heap to add
*/
--
1.7.12.4
More information about the devel
mailing list