[3.16-stable,86/87] MIPS: TXx9: Delete an unused variable in tx4927_pcibios_setup

Message ID 20170505194745.3627137-87-arnd@arndb.de
State New
Headers show
Series
  • build warnings and errors
Related show

Commit Message

Arnd Bergmann May 5, 2017, 7:47 p.m.
From: Atsushi Nemoto <anemo@mba.ocn.ne.jp>


Commit 32a51c797870e434c2afbfe60399c6497fc524ed upstream.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>

Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/7216/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

Signed-off-by: Arnd Bergmann <arnd@arndb.de>

---
 arch/mips/pci/ops-tx4927.c | 2 --
 1 file changed, 2 deletions(-)

-- 
2.9.0

Patch

diff --git a/arch/mips/pci/ops-tx4927.c b/arch/mips/pci/ops-tx4927.c
index 0e046d82e4e3..d54ea93651ac 100644
--- a/arch/mips/pci/ops-tx4927.c
+++ b/arch/mips/pci/ops-tx4927.c
@@ -199,8 +199,6 @@  static struct {
 
 char *tx4927_pcibios_setup(char *str)
 {
-	unsigned long val;
-
 	if (!strncmp(str, "trdyto=", 7)) {
 		u8 val = 0;
 		if (kstrtou8(str + 7, 0, &val) == 0)