]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm/memory.c: squash unused variable warning
authorAndrew Morton <akpm@linux-foundation.org>
Fri, 28 Sep 2012 00:19:02 +0000 (10:19 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 28 Sep 2012 06:06:41 +0000 (16:06 +1000)
commit0b59c33a407137ca2298556fa873be1128884957
treec004cc91647708c1eb6dcc4752221b17cb2c4584
parentf68115b7e3e3e7978f801d31daa2435c922727a9
mm/memory.c: squash unused variable warning

CONFIG_NUMA=n:

mm/memory.c: In function 'do_prot_none':
mm/memory.c:3447: warning: unused variable 'node'

Fix this by eliminiating a rather gratuitous goto, and nuke a second
gratuitous goto while we're there.

Cc: Ingo Molnar <mingo@elte.hu>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/memory.c