Skip to contentSkip to conversation

ion: remove ion_user_handle_t from ion_test.h

PATCH New Colin Cross 1 participant 1 message Dec 17, 2013 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ion: remove ion_user_handle_t from ion_test.h

ion_test.h should not define ion_user_handle_t, and defining it
causes a warning:
In file included from drivers/staging/android/ion/ion_test.c:31:
drivers/staging/android/ion/../uapi/ion_test.h:23: error: redefinition of typedef 'ion_user_handle_t' drivers/staging/android/ion/../uapi/ion.h:23: note: previous declaration of 'ion_user_handle_t' was here

---
 drivers/staging/android/uapi/ion_test.h | 2 --
 1 file changed, 2 deletions(-)
drivers/staging/android/uapi/ion_test.h +0 -2
index 352379a02690..614d1e36f72c 100644
@@ -20,8 +20,6 @@
 #include <linux/ioctl.h>
 #include <linux/types.h>
 
-typedef int ion_user_handle_t;
-
 /**
  * struct ion_test_rw_data - metadata passed to the kernel to read handle
  * @ptr:	a pointer to an area at least as large as size
Signature · 1 line
1.8.5.1