lkml.org 
[lkml]   [2019]   [Jun]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] xtensa/PCI: Remove unused variable
Date
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
\
 
 \ /
  Last update: 2019-06-16 16:13    [W:0.023 / U:0.744 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site