summaryrefslogtreecommitdiffstats
path: root/arch/xtensa
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2019-06-16 16:12:01 +0200
committerMax Filippov <jcmvbkbc@gmail.com>2019-06-17 08:31:27 +0200
commit2a97d60cf6a53123f5a0f066b7b219410eccd0dc (patch)
treea720a57fcd626c5985862c766b0b3f80c15b7bf3 /arch/xtensa
parentLinux 5.2-rc5 (diff)
downloadlinux-2a97d60cf6a53123f5a0f066b7b219410eccd0dc.tar.xz
linux-2a97d60cf6a53123f5a0f066b7b219410eccd0dc.zip
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;