diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2013-04-12 11:18:01 -0600 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2013-04-15 10:56:27 -0600 |
commit | b638d7e7b849ad402aaecfe7edb599687b5eb3a8 (patch) | |
tree | ed295c912fa9448fe0b32cdbe062c4d36eb3f61a /drivers/pci/setup-res.c | |
parent | c3139ba212ddc240656f4bcfc7c946418cd83e19 (diff) |
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 81b88bda793..07f2eddc09c 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); |