[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1560694321-31380-1-git-send-email-linux@roeck-us.net>
Date: Sun, 16 Jun 2019 07:12:01 -0700
From: Guenter Roeck <linux@...ck-us.net>
To: Chris Zankel <chris@...kel.net>, Max Filippov <jcmvbkbc@...il.com>
Cc: linux-xtensa@...ux-xtensa.org, linux-kernel@...r.kernel.org,
Guenter Roeck <linux@...ck-us.net>
Subject: [PATCH] xtensa/PCI: Remove unused variable
gcc reports:
arch/xtensa/kernel/pci.c:40:32: warning:
'pci_ctrl_tail' defined but not used
which is indeed the case.
Signed-off-by: Guenter Roeck <linux@...ck-us.net>
---
arch/xtensa/kernel/pci.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/xtensa/kernel/pci.c b/arch/xtensa/kernel/pci.c
index 8b823f94e568..e0235e34e1ba 100644
--- a/arch/xtensa/kernel/pci.c
+++ b/arch/xtensa/kernel/pci.c
@@ -37,7 +37,6 @@
*/
static struct pci_controller *pci_ctrl_head;
-static struct pci_controller **pci_ctrl_tail = &pci_ctrl_head;
static int pci_bus_count;
--
2.7.4
Powered by blists - more mailing lists