diff options
author | Yijing Wang <wangyijing@huawei.com> | 2013-01-30 08:10:38 +0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2013-02-02 03:00:16 +0400 |
commit | 40064acf0c2ca2fdc78cc6f09c3426be8db38a84 (patch) | |
tree | 434c4b90cf7678479332c2100ceebfbf80da09c6 /drivers/pci/iov.c | |
parent | 4f535093cf8f6da8cfda7c36c2c1ecd2e9586ee4 (diff) | |
download | linux-40064acf0c2ca2fdc78cc6f09c3426be8db38a84.tar.xz |
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.c | 1 |
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) |