diff options
Diffstat (limited to 'include/asm-arm/uaccess.h')
-rw-r--r-- | include/asm-arm/uaccess.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/asm-arm/uaccess.h b/include/asm-arm/uaccess.h index a7c018b8a0d4..a2fdad0138b3 100644 --- a/include/asm-arm/uaccess.h +++ b/include/asm-arm/uaccess.h | |||
@@ -77,12 +77,6 @@ static inline void set_fs (mm_segment_t fs) | |||
77 | 77 | ||
78 | #define access_ok(type,addr,size) (__range_ok(addr,size) == 0) | 78 | #define access_ok(type,addr,size) (__range_ok(addr,size) == 0) |
79 | 79 | ||
80 | /* this function will go away soon - use access_ok() instead */ | ||
81 | static inline int __deprecated verify_area(int type, const void __user *addr, unsigned long size) | ||
82 | { | ||
83 | return access_ok(type, addr, size) ? 0 : -EFAULT; | ||
84 | } | ||
85 | |||
86 | /* | 80 | /* |
87 | * Single-value transfer routines. They automatically use the right | 81 | * Single-value transfer routines. They automatically use the right |
88 | * size if we just have the right pointer type. Note that the functions | 82 | * size if we just have the right pointer type. Note that the functions |