Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 2a2c29c1 authored by Stratos Psomadakis's avatar Stratos Psomadakis Committed by Benjamin Herrenschmidt
Browse files

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: default avatarStratos Psomadakis <psomas@ece.ntua.gr>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent af442a1b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment