projects
/
profile
/
ivi
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83c4073
)
pci: Remove "(void)cfgtype"
author
Erwan Velu
<erwan.velu@free.fr>
Mon, 23 Mar 2009 17:17:55 +0000
(18:17 +0100)
committer
Erwan Velu
<erwan.velu@free.fr>
Mon, 23 Mar 2009 17:17:55 +0000
(18:17 +0100)
Impact: none
Remove useless "(void)cfgtype"
Signed-off-by: Sebastian Herbszt (herbszt@gmx.de)
com32/lib/pci/scan.c
patch
|
blob
|
history
diff --git
a/com32/lib/pci/scan.c
b/com32/lib/pci/scan.c
index
dd5d640
..
f73853f
100644
(file)
--- a/
com32/lib/pci/scan.c
+++ b/
com32/lib/pci/scan.c
@@
-441,7
+441,6
@@
struct pci_domain *pci_scan(void)
int cfgtype;
cfgtype = pci_set_config_type(PCI_CFG_AUTO);
- (void)cfgtype;
dprintf("PCI configuration type %d\n", cfgtype);
dprintf("Scanning PCI Buses\n");
@@
-521,7
+520,6
@@
void gather_additional_pci_config(struct pci_domain *domain)
pciaddr_t a;
int cfgtype;
cfgtype = pci_set_config_type(PCI_CFG_AUTO);
- (void)cfgtype;
for (nbus = 0; nbus < MAX_PCI_BUSES; nbus++) {
bus = NULL;