From: Adrian Bunk Date: Thu, 24 Jul 2008 04:27:03 +0000 (-0700) Subject: mm/hugetlb.c: fix duplicate variable X-Git-Tag: v2.6.27-rc1~828 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75353bed36cfbbfb55bbde0896bbf5a02d9ba355;p=pandora-kernel.git mm/hugetlb.c: fix duplicate variable It's confusing that set_max_huge_pages() contained two different variables named "ret", and although the code works correctly this should be fixed. The inner of the two variables can simply be removed. Spotted by sparse. Signed-off-by: Adrian Bunk Cc: "KOSAKI Motohiro" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed