From: Andrew Morton Date: Wed, 28 Sep 2011 00:50:24 +0000 (+1000) Subject: mm-mmapc-eliminate-the-ret-variable-from-mm_take_all_locks-fix X-Git-Tag: next-20110930~1^2~135 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=90f11e7836d21ac2a1c135d9558b891e0a0d4fae;p=karo-tx-linux.git mm-mmapc-eliminate-the-ret-variable-from-mm_take_all_locks-fix Cc: Kautuk Consul Signed-off-by: Andrew Morton <> --- diff --git a/mm/mmap.c b/mm/mmap.c index 48bc056bd675..3c0061f744f5 100644 --- 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; }