PCI: fix build warning in iov.c
PATCH 1/1 PCI: fix build warning in iov.c
Delete unused variable rc to fix build warning in driver/pci/iov.c
Signed-off-by Yijing Wang <[email protected]>
--- drivers/pci/iov.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
drivers/pci/iov.c +0 -1
@@ -33,7 +33,6 @@ static inline u8 virtfn_devfn(struct pci_dev *dev, int id)static struct pci_bus *virtfn_add_bus (struct pci_bus *bus,int busnr) { -int rc;struct pci_bus *child;if (bus->number == busnr)
Signature · 1 line
1.7.1
Quoted 3 lines · Yijing Wang
Delete unused variable rc to fix build warning in
driver/pci/iov.cSigned-off-by Yijing Wang <[email protected]>
Applied to my pci/yinghai-root-bus-hotplug branch for v3.9. Thanks!
Bjorn
Quoted 20 lines
--- drivers/pci/iov.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)drivers/pci/iov.c +0
-2@@ -33,7 +33,6 @@ static inline u8 virtfn_devfn(struct pci_dev *dev, int id)static struct pci_bus *virtfn_add_bus (struct pci_bus *bus,int busnr) { -int rc;struct pci_bus *child;if (bus->number == busnr) --1.7.1