aboutsummaryrefslogtreecommitdiffstats
path: root/com32
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-26 18:26:47 +0100
commitc092605b1f2f9419e99308f63c6c1fdd8c231f63 (patch)
treebac11cd7f402ae93e379277af6f976ae8363b2d0 /com32
parent8d1995dfa8c393cd4c5c88a691594849766ee228 (diff)
downloadsyslinux.git-c092605b1f2f9419e99308f63c6c1fdd8c231f63.tar.gz
syslinux.git-c092605b1f2f9419e99308f63c6c1fdd8c231f63.tar.xz
syslinux.git-c092605b1f2f9419e99308f63c6c1fdd8c231f63.zip
pci: Remove "(void)cfgtype"
Impact: none Remove useless "(void)cfgtype" Signed-off-by: Sebastian Herbszt (herbszt@gmx.de)
Diffstat (limited to 'com32')
-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;