Re: [PATCH -next] MIPS: uprobes: remove set but not used variable 'epc'

From: Paul Burton
Date: Wed May 29 2019 - 16:39:11 EST


Hello,

YueHaibing wrote:
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> arch/mips/kernel/uprobes.c: In function 'arch_uprobe_pre_xol':
> arch/mips/kernel/uprobes.c:115:17: warning: variable 'epc' set but not used [-Wunused-but-set-variable]
>
> It's never used since introduction in
> commit 40e084a506eb ("MIPS: Add uprobes support.")
>
> Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>

Applied to mips-fixes.

Thanks,
Paul

[ This message was auto-generated; if you believe anything is incorrect
then please email paul.burton@xxxxxxxx to report it. ]