xtensa/PCI: Remove unused variable
PATCH 1/1 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 <[email protected]>
--- arch/xtensa/kernel/pci.c | 1 - 1 file changed, 1 deletion(-)
arch/xtensa/kernel/pci.c +0 -1
@@ -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;
Signature · 1 line
2.7.4
Quoted 6 lines · Guenter Roeck
gcc reports:
arch/xtensa/kernel/pci.c:40:32: warning:
'pci_ctrl_tail' defined but not used
Quoted 6 lines
which is indeed the case.
Signed-off-by Guenter Roeck <[email protected]>--- arch/xtensa/kernel/pci.c | 1 - 1 file changed, 1 deletion(-)
Applied to my xtensa tree.
Signature · 2 lines
Thanks. -- Max