From c092605b1f2f9419e99308f63c6c1fdd8c231f63 Mon Sep 17 00:00:00 2001 From: Erwan Velu Date: Mon, 23 Mar 2009 18:17:55 +0100 Subject: [PATCH] pci: Remove "(void)cfgtype" Impact: none Remove useless "(void)cfgtype" Signed-off-by: Sebastian Herbszt (herbszt@gmx.de) --- com32/lib/pci/scan.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/com32/lib/pci/scan.c b/com32/lib/pci/scan.c index dd5d640..f73853f 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; -- 2.7.4