From: Al Viro Date: Thu, 25 May 2017 20:28:49 +0000 (-0400) Subject: kill __copy_in_user() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=119d0312c766773ca3238b9d926077664eed22be;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git kill __copy_in_user() no users left Signed-off-by: Al Viro --- diff --git a/include/linux/uaccess.h b/include/linux/uaccess.h index 201418d5e15c..97c93bc6f72a 100644 --- a/include/linux/uaccess.h +++ b/include/linux/uaccess.h @@ -180,12 +180,6 @@ copy_to_user(void __user *to, const void *from, unsigned long n) } #ifdef CONFIG_COMPAT static __always_inline unsigned long __must_check -__copy_in_user(void __user *to, const void *from, unsigned long n) -{ - might_fault(); - return raw_copy_in_user(to, from, n); -} -static __always_inline unsigned long __must_check copy_in_user(void __user *to, const void *from, unsigned long n) { might_fault();