X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=mm%2Fnommu.c;h=85a3a68dffb687ee7949a734156e6c2f2a1c8390;hb=1ad77a05cfaed42cba301368350817333ac69b6a;hp=5c9ab799c0e6395877cb781d8eb88493641f81d2;hpb=4c9f4865f4604744d4f1a43db22ac6ec9dc8e587;p=linux-2.6-microblaze.git diff --git a/mm/nommu.c b/mm/nommu.c index 5c9ab799c0e6..85a3a68dffb6 100644 --- a/mm/nommu.c +++ b/mm/nommu.c @@ -210,16 +210,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 *