summaryrefslogtreecommitdiffstats
path: root/arch/hexagon/mm/uaccess.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/hexagon/mm/uaccess.c')
-rw-r--r--arch/hexagon/mm/uaccess.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/hexagon/mm/uaccess.c b/arch/hexagon/mm/uaccess.c
index 650bca92f0..3204e9ba6d 100644
--- a/arch/hexagon/mm/uaccess.c
+++ b/arch/hexagon/mm/uaccess.c
@@ -35,11 +35,3 @@ __kernel_size_t __clear_user_hexagon(void __user *dest, unsigned long count)
return count;
}
-
-unsigned long clear_user_hexagon(void __user *dest, unsigned long count)
-{
- if (!access_ok(dest, count))
- return count;
- else
- return __clear_user_hexagon(dest, count);
-}