summaryrefslogtreecommitdiffstats
path: root/drivers/xen
diff options
context:
space:
mode:
authorJan Beulich <JBeulich@suse.com>2016-07-06 00:56:27 -0600
committerDavid Vrabel <david.vrabel@citrix.com>2016-07-06 10:35:37 +0100
commit6c6e4caa2006ab82587a3648967314ec92569a98 (patch)
tree8eb1d47d23c65f5f05e621a531b3b0ffc4a24533 /drivers/xen
parent585423c8c4d2f39a2c299bc6dd16433e6141fba5 (diff)
downloadblackbird-op-linux-6c6e4caa2006ab82587a3648967314ec92569a98.tar.gz
blackbird-op-linux-6c6e4caa2006ab82587a3648967314ec92569a98.zip
xen-pciback: drop unused function parameter of read_dev_bar()
Signed-off-by: Jan Beulich <jbeulich@suse.com> Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Diffstat (limited to 'drivers/xen')
-rw-r--r--drivers/xen/xen-pciback/conf_space_header.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/xen/xen-pciback/conf_space_header.c b/drivers/xen/xen-pciback/conf_space_header.c
index 9ead1c2ff1dd..258d99dd2151 100644
--- a/drivers/xen/xen-pciback/conf_space_header.c
+++ b/drivers/xen/xen-pciback/conf_space_header.c
@@ -210,8 +210,7 @@ static int bar_read(struct pci_dev *dev, int offset, u32 * value, void *data)
}
static inline void read_dev_bar(struct pci_dev *dev,
- struct pci_bar_info *bar_info, int offset,
- u32 len_mask)
+ struct pci_bar_info *bar_info, int offset)
{
int pos;
struct resource *res = dev->resource;
@@ -248,7 +247,7 @@ static void *bar_init(struct pci_dev *dev, int offset)
if (!bar)
return ERR_PTR(-ENOMEM);
- read_dev_bar(dev, bar, offset, ~0);
+ read_dev_bar(dev, bar, offset);
return bar;
}
@@ -260,7 +259,7 @@ static void *rom_init(struct pci_dev *dev, int offset)
if (!bar)
return ERR_PTR(-ENOMEM);
- read_dev_bar(dev, bar, offset, ~PCI_ROM_ADDRESS_ENABLE);
+ read_dev_bar(dev, bar, offset);
return bar;
}
OpenPOWER on IntegriCloud