]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mm-mmapc-eliminate-the-ret-variable-from-mm_take_all_locks-fix
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 5 Oct 2011 00:43:11 +0000 (11:43 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 6 Oct 2011 05:59:48 +0000 (16:59 +1100)
Cc: Kautuk Consul <consul.kautuk@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/mmap.c

index 48bc056bd6758cd702f31d32827c5563130d39ae..3c0061f744f50cad8fd79eab118d7a54561fa654 100644 (file)
--- a/mm/mmap.c
+++ b/mm/mmap.c
@@ -2582,7 +2582,6 @@ int mm_take_all_locks(struct mm_struct *mm)
 
 out_unlock:
        mm_drop_all_locks(mm);
-
        return -EINTR;
 }