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

2019-05-29 Thread Paul Burton
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 > co

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

2019-05-25 Thread YueHaibing
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 supp