summaryrefslogtreecommitdiff
path: root/arch/metag
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-12-28 01:26:29 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2017-03-28 18:23:42 -0400
commit2c3054176e2ef3f49be9ec8b6fd06d6a47156ff5 (patch)
treebc36c4402963eb7f5062475a36eaff1877c7f513 /arch/metag
parent8b9a7e569569f28d21e5628d5e1f8efe089474f7 (diff)
metag: kill verify_area()
Deprecated in 2.6.12, killed in 2.6.13. Time to end that depravity, let's bury the body... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/metag')
-rw-r--r--arch/metag/include/asm/uaccess.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/metag/include/asm/uaccess.h b/arch/metag/include/asm/uaccess.h
index 92ba79f63e7c..2613d91bde1a 100644
--- a/arch/metag/include/asm/uaccess.h
+++ b/arch/metag/include/asm/uaccess.h
@@ -47,11 +47,6 @@ static inline int __access_ok(unsigned long addr, unsigned long size)
#define access_ok(type, addr, size) __access_ok((unsigned long)(addr), \
(unsigned long)(size))
-static inline int verify_area(int type, const void *addr, unsigned long size)
-{
- return access_ok(type, addr, size) ? 0 : -EFAULT;
-}
-
#include <asm/extable.h>
/*