From 40064acf0c2ca2fdc78cc6f09c3426be8db38a84 Mon Sep 17 00:00:00 2001 From: Yijing Wang Date: Wed, 30 Jan 2013 12:10:38 +0800 Subject: PCI: Remove unused "rc" in virtfn_add_bus() Delete unused variable "rc" to fix build warning in drivers/pci/iov.c Signed-off-by: Yijing Wang Signed-off-by: Bjorn Helgaas --- drivers/pci/iov.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/pci/iov.c b/drivers/pci/iov.c index f8720afe053..4ea7139db1b 100644 --- a/drivers/pci/iov.c +++ b/drivers/pci/iov.c @@ -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) -- cgit v1.2.3-70-g09d2