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:
Al Viro 2020-02-16 10:27:46 -05:00
parent a08971e948
commit 0bea4f7beb
1 changed files with 0 additions and 3 deletions

View File

@ -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);