summaryrefslogtreecommitdiffstats
path: root/drivers/pci/iov.c
diff options
context:
space:
mode:
authorYijing Wang <wangyijing@huawei.com>2013-01-30 05:10:38 +0100
committerBjorn Helgaas <bhelgaas@google.com>2013-02-02 00:00:16 +0100
commit40064acf0c2ca2fdc78cc6f09c3426be8db38a84 (patch)
tree434c4b90cf7678479332c2100ceebfbf80da09c6 /drivers/pci/iov.c
parentPCI: Put pci_dev in device tree as early as possible (diff)
downloadlinux-40064acf0c2ca2fdc78cc6f09c3426be8db38a84.tar.xz
linux-40064acf0c2ca2fdc78cc6f09c3426be8db38a84.zip
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 <wangyijing@huawei.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/iov.c')
-rw-r--r--drivers/pci/iov.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pci/iov.c b/drivers/pci/iov.c
index f8720afe0537..4ea7139db1be 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)