summaryrefslogtreecommitdiff
path: root/arch/xtensa
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2019-06-16 17:12:01 +0300
committerMax Filippov <jcmvbkbc@gmail.com>2019-06-17 09:31:27 +0300
commit2a97d60cf6a53123f5a0f066b7b219410eccd0dc (patch)
treea720a57fcd626c5985862c766b0b3f80c15b7bf3 /arch/xtensa
parent9e0babf2c06c73cda2c0cd37a1653d823adb40ec (diff)
downloadlinux-2a97d60cf6a53123f5a0f066b7b219410eccd0dc.tar.xz
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@roeck-us.net> Message-Id: <1560694321-31380-1-git-send-email-linux@roeck-us.net> Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa')
-rw-r--r--arch/xtensa/kernel/pci.c1
1 files changed, 0 insertions, 1 deletions
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;