From: Dan Carpenter Date: Thu, 27 Jun 2013 23:52:25 +0000 (+1000) Subject: mm/vmalloc.c: unbreak __vunmap() X-Git-Tag: next-20130628~3^2~383 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=4c54f6a47e99235d571871ba49a6bcb3eaf8e276;p=karo-tx-linux.git mm/vmalloc.c: unbreak __vunmap() There is an extra semi-colon so the function always returns. Signed-off-by: Dan Carpenter Acked-by: Zhang Yanfei Signed-off-by: Andrew Morton --- diff --git a/mm/vmalloc.c b/mm/vmalloc.c index 91a10472a39a..96b77a982545 100644 --- a/mm/vmalloc.c +++ b/mm/vmalloc.c @@ -1453,7 +1453,7 @@ static void __vunmap(const void *addr, int deallocate_pages) return; if (WARN(!PAGE_ALIGNED(addr), "Trying to vfree() bad address (%p)\n", - addr)); + addr)) return; area = remove_vm_area(addr);