powerpc/mm: Fix compiler warning in pgtable-ppc64.h [-Wunused-but-set-variable]
authorStratos Psomadakis <psomas@cslab.ece.ntua.gr>
Sat, 7 May 2011 04:11:31 +0000 (04:11 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 19 May 2011 04:30:41 +0000 (14:30 +1000)
commit2a2c29c1a581319f4485af55e8d628d89e8f2583
tree46697cbb6e570d8eb3be18c4f44dd42819530a47
parentaf442a1baa6d00117cc7e7377ce7e6a545268684
powerpc/mm: Fix compiler warning in pgtable-ppc64.h [-Wunused-but-set-variable]

The variable 'old' is set but not used in the wrprotect functions in
arch/powerpc/include/asm/pgtable-ppc64.h, which can trigger a compiler warning.

Remove the variable, since it's not used anyway.

Signed-off-by: Stratos Psomadakis <psomas@ece.ntua.gr>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/pgtable-ppc64.h