projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e0babf
)
xtensa/PCI: Remove unused variable
author
Guenter Roeck
<linux@roeck-us.net>
Sun, 16 Jun 2019 14:12:01 +0000
(07:12 -0700)
committer
Max Filippov
<jcmvbkbc@gmail.com>
Mon, 17 Jun 2019 06:31:27 +0000
(23:31 -0700)
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>
arch/xtensa/kernel/pci.c
patch
|
blob
|
history
diff --git
a/arch/xtensa/kernel/pci.c
b/arch/xtensa/kernel/pci.c
index 8b823f94e5684ae3a7355a9799e7457b78843e0b..e0235e34e1babd41b632317294613be213c5ad1e 100644
(file)
--- 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;