projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
585423c
)
xen-pciback: drop unused function parameter of read_dev_bar()
author
Jan Beulich
<JBeulich@suse.com>
Wed, 6 Jul 2016 06:56:27 +0000
(
00:56
-0600)
committer
David Vrabel
<david.vrabel@citrix.com>
Wed, 6 Jul 2016 09:35:37 +0000
(10:35 +0100)
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
drivers/xen/xen-pciback/conf_space_header.c
patch
|
blob
|
history
diff --git
a/drivers/xen/xen-pciback/conf_space_header.c
b/drivers/xen/xen-pciback/conf_space_header.c
index 9ead1c2ff1ddd2e1340e57c70db6b53a7b34665e..258d99dd21518b6f4ca2f602e224aedb44a4c59e 100644
(file)
--- 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;
}