diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2013-04-12 19:18:01 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2013-04-15 18:56:27 +0200 |
commit | b638d7e7b849ad402aaecfe7edb599687b5eb3a8 (patch) | |
tree | ed295c912fa9448fe0b32cdbe062c4d36eb3f61a /drivers/pci/setup-res.c | |
parent | PCI: Move cpci_hotplug_init() proto to header file (diff) | |
download | linux-b638d7e7b849ad402aaecfe7edb599687b5eb3a8.tar.xz linux-b638d7e7b849ad402aaecfe7edb599687b5eb3a8.zip |
PCI: Remove unused variables
This fixes "set but not used" warnings found via "make W=1".
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/setup-res.c')
-rw-r--r-- | drivers/pci/setup-res.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/pci/setup-res.c b/drivers/pci/setup-res.c index 81b88bda7930..07f2eddc09ce 100644 --- a/drivers/pci/setup-res.c +++ b/drivers/pci/setup-res.c @@ -261,7 +261,6 @@ int pci_assign_resource(struct pci_dev *dev, int resno) { struct resource *res = dev->resource + resno; resource_size_t align, size; - struct pci_bus *bus; int ret; align = pci_resource_alignment(dev, res); @@ -271,7 +270,6 @@ int pci_assign_resource(struct pci_dev *dev, int resno) return -EINVAL; } - bus = dev->bus; size = resource_size(res); ret = _pci_assign_resource(dev, resno, size, align); |