changeset 10917:2c1f18099a3e

6881268 Fujitsu-Siemens Amilo D8820 hangs during boot when wifi card present in cardbus slot (fix lint)
author Guoli Shu<Kerry.Shu@Sun.COM>
date Fri, 30 Oct 2009 11:34:41 -0700
parents b5c9d492b177
children 2b2e29cc5077
files usr/src/uts/intel/io/pci/pci_boot.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/uts/intel/io/pci/pci_boot.c	Fri Oct 30 10:44:28 2009 -0700
+++ b/usr/src/uts/intel/io/pci/pci_boot.c	Fri Oct 30 11:34:41 2009 -0700
@@ -1344,8 +1344,9 @@
 		 * 	000A0000 - 000BFFFF	VGA RAM
 		 * 	000C0000 - 000FFFFF	ROM area
 		 */
-		memlist_remove(&pci_bus_res[bus].mem_avail, 0, 0x100000);
-		memlist_remove(&pci_bus_res[bus].pmem_avail, 0, 0x100000);
+		(void) memlist_remove(&pci_bus_res[bus].mem_avail, 0, 0x100000);
+		(void) memlist_remove(&pci_bus_res[bus].pmem_avail,
+		    0, 0x100000);
 	}
 
 	memlist_free_all(&isa_res.io_used);