sh: no need of access_ok() in arch_futex_atomic_op_inuser()
everything it uses is doing access_ok() already Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
a08971e948
commit
0bea4f7beb
|
@ -34,9 +34,6 @@ static inline int arch_futex_atomic_op_inuser(int op, u32 oparg, int *oval,
|
|||
u32 oldval, newval, prev;
|
||||
int ret;
|
||||
|
||||
if (!access_ok(uaddr, sizeof(u32)))
|
||||
return -EFAULT;
|
||||
|
||||
do {
|
||||
ret = get_user(oldval, uaddr);
|
||||
|
||||
|
|
Loading…
Reference in New Issue