MIPS: uprobes: remove set but not used variable 'epc'
authorYueHaibing <yuehaibing@huawei.com>
Sat, 25 May 2019 12:20:24 +0000 (20:20 +0800)
committerPaul Burton <paul.burton@mips.com>
Wed, 29 May 2019 20:20:30 +0000 (13:20 -0700)
commitf532beeeff0c0a3586cc15538bc52d249eb19e7c
tree0f1ea4ac0f0bb5c03d08052f8dae5af8b721fe11
parente4f2d1af7163becb181419af9dece9206001e0a6
MIPS: uprobes: remove set but not used variable 'epc'

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@huawei.com>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: <ralf@linux-mips.org>
Cc: <jhogan@kernel.org>
Cc: <linux-kernel@vger.kernel.org>
Cc: <linux-mips@vger.kernel.org>
arch/mips/kernel/uprobes.c