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(-)
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
On Sun, Jun 16, 2019 at 7:12 AM Guenter Roeck <[email protected]> wrote:
>
> 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(-)
Applied to my xtensa tree.
--
Thanks.
-- Max