diff options
Diffstat (limited to 'mm/nommu.c')
-rw-r--r-- | mm/nommu.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/mm/nommu.c b/mm/nommu.c index cee29d0791b3..8848cf7cb7c1 100644 --- a/mm/nommu.c +++ b/mm/nommu.c @@ -224,16 +224,6 @@ long vread(char *buf, char *addr, unsigned long count) return count; } -long vwrite(char *buf, char *addr, unsigned long count) -{ - /* Don't allow overflow */ - if ((unsigned long) addr + count < count) - count = -(unsigned long) addr; - - memcpy(addr, buf, count); - return count; -} - /* * vmalloc - allocate virtually contiguous memory * |