]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
MIPS: uprobes: remove set but not used variable 'epc'
authorYueHaibing <yuehaibing@huawei.com>
Sat, 25 May 2019 12:20:24 +0000 (20:20 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 Jun 2019 03:34:49 +0000 (11:34 +0800)
commit62e5facae8997c6dba85c3e2f9474017f6a9fe05
tree487e792ac69ddf664403170ed8e5d0078c97563b
parentf17c4c68e9b736f24d225f6c9218abe00a6e5d97
MIPS: uprobes: remove set but not used variable 'epc'

[ Upstream commit f532beeeff0c0a3586cc15538bc52d249eb19e7c ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/mips/kernel/uprobes.c