* [PATCH] xtensa/PCI: Remove unused variable
@ 2019-06-16 14:12 Guenter Roeck
2019-06-17 16:34 ` Max Filippov
0 siblings, 1 reply; 2+ messages in thread
From: Guenter Roeck @ 2019-06-16 14:12 UTC (permalink / raw)
To: Chris Zankel, Max Filippov; +Cc: linux-xtensa, linux-kernel, Guenter Roeck
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>
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] xtensa/PCI: Remove unused variable
2019-06-16 14:12 [PATCH] xtensa/PCI: Remove unused variable Guenter Roeck
@ 2019-06-17 16:34 ` Max Filippov
0 siblings, 0 replies; 2+ messages in thread
From: Max Filippov @ 2019-06-17 16:34 UTC (permalink / raw)
To: Guenter Roeck
Cc: Chris Zankel, open list:TENSILICA XTENSA PORT (xtensa), LKML
On Sun, Jun 16, 2019 at 7:12 AM Guenter Roeck <linux@roeck-us.net> 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 <linux@roeck-us.net>
> ---
> arch/xtensa/kernel/pci.c | 1 -
> 1 file changed, 1 deletion(-)
Applied to my xtensa tree.
--
Thanks.
-- Max
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-06-17 16:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-16 14:12 [PATCH] xtensa/PCI: Remove unused variable Guenter Roeck
2019-06-17 16:34 ` Max Filippov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).