summaryrefslogtreecommitdiff
path: root/drivers/staging/android/uapi
diff options
context:
space:
mode:
authorLaura Abbott <labbott@redhat.com>2017-04-03 11:57:52 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-04-08 12:36:11 +0200
commit4c23cbff073f3b9bf03c3ccd75bc2d09b34fcc15 (patch)
treee3b45b48dd64ce90ff0ef21deef814b2680ff2ef /drivers/staging/android/uapi
parent73794b373f0f3d5606daec859aae62599b8025f4 (diff)
staging: android: ion: Remove import interface
With the expansion of dma-buf and the move for Ion to be come just an allocator, the import mechanism is mostly useless. There isn't a kernel component to Ion anymore and handles are private to Ion. Remove this interface. Signed-off-by: Laura Abbott <labbott@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/android/uapi')
-rw-r--r--drivers/staging/android/uapi/ion.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/staging/android/uapi/ion.h b/drivers/staging/android/uapi/ion.h
index 8ff471dce806..3a59044812b6 100644
--- a/drivers/staging/android/uapi/ion.h
+++ b/drivers/staging/android/uapi/ion.h
@@ -185,15 +185,6 @@ struct ion_heap_query {
#define ION_IOC_SHARE _IOWR(ION_IOC_MAGIC, 4, struct ion_fd_data)
/**
- * DOC: ION_IOC_IMPORT - imports a shared file descriptor
- *
- * Takes an ion_fd_data struct with the fd field populated with a valid file
- * descriptor obtained from ION_IOC_SHARE and returns the struct with the handle
- * filed set to the corresponding opaque handle.
- */
-#define ION_IOC_IMPORT _IOWR(ION_IOC_MAGIC, 5, struct ion_fd_data)
-
-/**
* DOC: ION_IOC_HEAP_QUERY - information about available heaps
*
* Takes an ion_heap_query structure and populates information about