Module Name:    src
Committed By:   riastradh
Date:           Wed Jun 11 17:02:09 UTC 2014

Modified Files:
        src/sys/dev/pci: agp_i810.c

Log Message:
Ignore result of agp_i810_unbind_page in agp_i810_unbind_memory.


To generate a diff of this commit:
cvs rdiff -u -r1.92 -r1.93 src/sys/dev/pci/agp_i810.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/pci/agp_i810.c
diff -u src/sys/dev/pci/agp_i810.c:1.92 src/sys/dev/pci/agp_i810.c:1.93
--- src/sys/dev/pci/agp_i810.c:1.92	Wed Jun 11 17:01:31 2014
+++ src/sys/dev/pci/agp_i810.c	Wed Jun 11 17:02:09 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: agp_i810.c,v 1.92 2014/06/11 17:01:31 riastradh Exp $	*/
+/*	$NetBSD: agp_i810.c,v 1.93 2014/06/11 17:02:09 riastradh Exp $	*/
 
 /*-
  * Copyright (c) 2000 Doug Rabson
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: agp_i810.c,v 1.92 2014/06/11 17:01:31 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: agp_i810.c,v 1.93 2014/06/11 17:02:09 riastradh Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -1414,7 +1414,7 @@ agp_i810_unbind_memory(struct agp_softc 
 	case AGP_I810_MEMTYPE_MAIN:
 	case AGP_I810_MEMTYPE_HWCURSOR:
 		for (i = 0; i < mem->am_size; i += AGP_PAGE_SIZE)
-			agp_i810_unbind_page(sc, mem->am_offset + i);
+			(void)agp_i810_unbind_page(sc, mem->am_offset + i);
 		break;
 	case AGP_I810_MEMTYPE_DCACHE:
 		KASSERT(isc->chiptype == CHIP_I810);

Reply via email to