summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2017-09-03 20:42:54 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2017-09-19 17:56:00 -0400
commitb8e8e1aa9f14110da180569908bbe538c9e9dc63 (patch)
tree216e23b813a0a5ff35fa9e8f3d00f67c43727d9b /kernel
parentfa2e62a54003419b06f1de7836dca51b368d0872 (diff)
downloadop-kernel-dev-b8e8e1aa9f14110da180569908bbe538c9e9dc63.zip
op-kernel-dev-b8e8e1aa9f14110da180569908bbe538c9e9dc63.tar.gz
get rid of {get,put}_compat_itimerspec()
no users left Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/compat.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/kernel/compat.c b/kernel/compat.c
index 18dd902..d43b180 100644
--- a/kernel/compat.c
+++ b/kernel/compat.c
@@ -367,24 +367,6 @@ COMPAT_SYSCALL_DEFINE3(sched_getaffinity, compat_pid_t, pid, unsigned int, len,
return ret;
}
-int get_compat_itimerspec(struct itimerspec *dst,
- const struct compat_itimerspec __user *src)
-{
- if (__compat_get_timespec(&dst->it_interval, &src->it_interval) ||
- __compat_get_timespec(&dst->it_value, &src->it_value))
- return -EFAULT;
- return 0;
-}
-
-int put_compat_itimerspec(struct compat_itimerspec __user *dst,
- const struct itimerspec *src)
-{
- if (__compat_put_timespec(&src->it_interval, &dst->it_interval) ||
- __compat_put_timespec(&src->it_value, &dst->it_value))
- return -EFAULT;
- return 0;
-}
-
int get_compat_itimerspec64(struct itimerspec64 *its,
const struct compat_itimerspec __user *uits)
{
OpenPOWER on IntegriCloud