summaryrefslogtreecommitdiffstats
path: root/mm/filemap.c
diff options
context:
space:
mode:
authorAdrian Bunk2008-07-24 06:27:03 +0200
committerLinus Torvalds2008-07-24 19:47:14 +0200
commit75353bed36cfbbfb55bbde0896bbf5a02d9ba355 (patch)
treeda149cfb59d289845dc1ee4d33612314e03be5a1 /mm/filemap.c
parentmm/vmstat.c: proper externs (diff)
downloadkernel-qcow2-linux-75353bed36cfbbfb55bbde0896bbf5a02d9ba355.tar.gz
kernel-qcow2-linux-75353bed36cfbbfb55bbde0896bbf5a02d9ba355.tar.xz
kernel-qcow2-linux-75353bed36cfbbfb55bbde0896bbf5a02d9ba355.zip
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 <bunk@kernel.org> Cc: "KOSAKI Motohiro" <kosaki.motohiro@jp.fujitsu.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/filemap.c')
0 files changed, 0 insertions, 0 deletions