summaryrefslogtreecommitdiff
path: root/com32/lib/pci/scan.c
diff options
context:
space:
mode:
authorErwan Velu <erwan.velu@free.fr>2009-03-23 18:17:55 +0100
committerErwan Velu <erwan.velu@free.fr>2009-03-23 18:17:55 +0100
commit66a0dfe708020688ff8a3d0c2f15b2febc129139 (patch)
treede8459dbedbcee26d022299f6e9fe760a55eb16d /com32/lib/pci/scan.c
parent83c407350cecf2e21ddead2c872acf720e719af3 (diff)
downloadsyslinux-66a0dfe708020688ff8a3d0c2f15b2febc129139.tar.gz
pci: Remove "(void)cfgtype"
Impact: none Remove useless "(void)cfgtype" Signed-off-by: Sebastian Herbszt (herbszt@gmx.de)
Diffstat (limited to 'com32/lib/pci/scan.c')
-rw-r--r--com32/lib/pci/scan.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/com32/lib/pci/scan.c b/com32/lib/pci/scan.c
index dd5d6402..f73853f6 100644
--- 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;