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>
This commit is contained in:
parent
8b9a7e5695
commit
2c3054176e
|
@ -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>
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue