]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf1db6b610166a9141488e13445e8430a3a58d49d
tree46697cbb6e570d8eb3be18c4f44dd42819530a47
parent5480f14d34e57c1a73aa35fe1e3d61caacfc4dc5
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