Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci Ignore result of agp_i810_unbind_page in agp_i81...



details:   https://anonhg.NetBSD.org/src/rev/8a026adec7d7
branches:  trunk
changeset: 796602:8a026adec7d7
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Wed Jun 11 17:02:09 2014 +0000

description:
Ignore result of agp_i810_unbind_page in agp_i810_unbind_memory.

diffstat:

 sys/dev/pci/agp_i810.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r f5a5c0c6672c -r 8a026adec7d7 sys/dev/pci/agp_i810.c
--- a/sys/dev/pci/agp_i810.c    Wed Jun 11 17:01:31 2014 +0000
+++ b/sys/dev/pci/agp_i810.c    Wed Jun 11 17:02:09 2014 +0000
@@ -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 @@
        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);



Home | Main Index | Thread Index | Old Index