summaryrefslogtreecommitdiffstats
path: root/drivers/pci/iov.c
diff options
context:
space:
mode:
authorYijing Wang <wangyijing@huawei.com>2013-01-30 12:10:38 +0800
committerBjorn Helgaas <bhelgaas@google.com>2013-02-01 16:00:16 -0700
commit40064acf0c2ca2fdc78cc6f09c3426be8db38a84 (patch)
tree434c4b90cf7678479332c2100ceebfbf80da09c6 /drivers/pci/iov.c
parent4f535093cf8f6da8cfda7c36c2c1ecd2e9586ee4 (diff)
downloadlinux-40064acf0c2ca2fdc78cc6f09c3426be8db38a84.tar.bz2
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)