summaryrefslogtreecommitdiffstats
path: root/drivers/pci
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
parent4f535093cf8f6da8cfda7c36c2c1ecd2e9586ee4 (diff)
downloadop-kernel-dev-40064acf0c2ca2fdc78cc6f09c3426be8db38a84.zip
op-kernel-dev-40064acf0c2ca2fdc78cc6f09c3426be8db38a84.tar.gz
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')
-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 f8720af..4ea7139 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)
OpenPOWER on IntegriCloud