]> 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, 28 Sep 2011 00:50:24 +0000 (10:50 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 4 Oct 2011 07:38:39 +0000 (18:38 +1100)
Cc: Kautuk Consul <consul.kautuk@gmail.com>
Signed-off-by: Andrew Morton <>
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;
 }