[PATCH] powerpc/pkeys: remove unused pkey_allows_readwrite
Michael Ellerman
patch-notifications at ellerman.id.au
Wed Oct 30 23:14:18 AEDT 2019
On Tue, 2019-09-17 at 15:22:30 UTC, Qian Cai wrote:
> pkey_allows_readwrite() was first introduced in the commit 5586cf61e108
> ("powerpc: introduce execute-only pkey"), but the usage was removed
> entirely in the commit a4fcc877d4e1 ("powerpc/pkeys: Preallocate
> execute-only key").
>
> Found by the "-Wunused-function" compiler warning flag.
>
> Fixes: a4fcc877d4e1 ("powerpc/pkeys: Preallocate execute-only key")
> Signed-off-by: Qian Cai <cai at lca.pw>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/29674a1c71be710f8418468aa6a8addd6d1aba1c
cheers
More information about the Linuxppc-dev
mailing list