提交 6c6e4caa 编写于 作者: J Jan Beulich 提交者: David Vrabel

xen-pciback: drop unused function parameter of read_dev_bar()

Signed-off-by: NJan Beulich <jbeulich@suse.com>
Signed-off-by: NDavid Vrabel <david.vrabel@citrix.com>
上级 585423c8
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册