aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-avr32/uaccess.h
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@mindspring.com>2007-01-07 18:43:41 -0500
committerHaavard Skinnemoen <hskinnemoen@atmel.com>2007-02-09 15:01:56 +0100
commit31321bc946527f2e4c50b6b08459d1c0d81fa978 (patch)
treead55844941184f7c075b3456cef18661e3cc85bb /include/asm-avr32/uaccess.h
parentMerge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/mfasheh/ocfs2 (diff)
downloadlinux-dev-31321bc946527f2e4c50b6b08459d1c0d81fa978.tar.xz
linux-dev-31321bc946527f2e4c50b6b08459d1c0d81fa978.zip
Remove a couple final references to obsolete verify_area().
Remove a couple final references to the obsolete verify_area() call, which was long ago replaced by access_ok(). Signed-off-by: Robert P. J. Day <rpjday@mindspring.com> Acked-by: Jesper Juhl <jesper.juhl@gmail.com> Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Diffstat (limited to 'include/asm-avr32/uaccess.h')
-rw-r--r--include/asm-avr32/uaccess.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/asm-avr32/uaccess.h b/include/asm-avr32/uaccess.h
index 821deb5a9d28..74a679e9098c 100644
--- a/include/asm-avr32/uaccess.h
+++ b/include/asm-avr32/uaccess.h
@@ -68,12 +68,6 @@ static inline void set_fs(mm_segment_t s)
#define access_ok(type, addr, size) (likely(__range_ok(addr, size) == 0))
-static inline int
-verify_area(int type, const void __user *addr, unsigned long size)
-{
- return access_ok(type, addr, size) ? 0 : -EFAULT;
-}
-
/* Generic arbitrary sized copy. Return the number of bytes NOT copied */
extern __kernel_size_t __copy_user(void *to, const void *from,
__kernel_size_t n);