From: Chris Wright Date: Tue, 26 Jul 2011 00:12:14 +0000 (-0700) Subject: mm/huge_memory.c: minor lock simplification in __khugepaged_exit X-Git-Tag: v3.1-rc1~241^2~97 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d788e80a8c83ecdbdd55b6e985cced9cfe3a815b;p=pandora-kernel.git mm/huge_memory.c: minor lock simplification in __khugepaged_exit The lock is released first thing in all three branches. Simplify this by unconditionally releasing lock and remove else clause which was only there to be sure lock was released. Signed-off-by: Chris Wright Reviewed-by: Michal Hocko Cc: Andrea Arcangeli Acked-by: Johannes Weiner Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed