kill __copy_in_user()
no users left Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
f2cffa223a
commit
119d0312c7
|
@ -180,12 +180,6 @@ copy_to_user(void __user *to, const void *from, unsigned long n)
|
||||||
}
|
}
|
||||||
#ifdef CONFIG_COMPAT
|
#ifdef CONFIG_COMPAT
|
||||||
static __always_inline unsigned long __must_check
|
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)
|
copy_in_user(void __user *to, const void *from, unsigned long n)
|
||||||
{
|
{
|
||||||
might_fault();
|
might_fault();
|
||||||
|
|
Loading…
Reference in New Issue