[PATCH] xtensa/PCI: Remove unused variable

From: Guenter Roeck
Date: Sun Jun 16 2019 - 10:16:53 EST


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@xxxxxxxxxxxx>
---
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