Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1543819
| From | Matthew Smith <matthew.s3h@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 3/3] staging: android: remove compat_get_ion_custom_data |
| Date | 2016-12-16 23:50 +0100 |
| Message-ID | <sP9u9-1bb-17@gated-at.bofh.it> (permalink) |
| References | <sP9u9-1bb-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
After removing the ION_IOC_CUSTOM case, compat_get_ion_custom_data is no
longer required.
Signed-off-by: Matthew Smith <matthew.s3h@gmail.com>
---
drivers/staging/android/ion/compat_ion.c | 16 ----------------
1 file changed, 16 deletions(-)
diff --git a/drivers/staging/android/ion/compat_ion.c b/drivers/staging/android/ion/compat_ion.c
index 8e6377b..a177641 100644
--- a/drivers/staging/android/ion/compat_ion.c
+++ b/drivers/staging/android/ion/compat_ion.c
@@ -105,22 +105,6 @@ static int compat_put_ion_allocation_data(
return err;
}
-static int compat_get_ion_custom_data(
- struct compat_ion_custom_data __user *data32,
- struct ion_custom_data __user *data)
-{
- compat_uint_t cmd;
- compat_ulong_t arg;
- int err;
-
- err = get_user(cmd, &data32->cmd);
- err |= put_user(cmd, &data->cmd);
- err |= get_user(arg, &data32->arg);
- err |= put_user(arg, &data->arg);
-
- return err;
-};
-
long compat_ion_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
{
long ret;
--
2.9.3
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 1/3] staging: android: remove ION_IOC_SYNC Matthew Smith <matthew.s3h@gmail.com> - 2016-12-16 23:50 +0100
[PATCH 3/3] staging: android: remove compat_get_ion_custom_data Matthew Smith <matthew.s3h@gmail.com> - 2016-12-16 23:50 +0100
Re: [PATCH 1/3] staging: android: remove ION_IOC_SYNC Laura Abbott <labbott@redhat.com> - 2016-12-17 00:10 +0100
Re: [PATCH 1/3] staging: android: remove ION_IOC_SYNC Matthew Smith <matthew.s3h@gmail.com> - 2016-12-17 00:30 +0100
csiph-web