Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbsh5/dev Make this compile when DEBUG is not defi...



details:   https://anonhg.NetBSD.org/src/rev/b010725ddc49
branches:  trunk
changeset: 538553:b010725ddc49
user:      scw <scw%NetBSD.org@localhost>
date:      Tue Oct 22 14:17:34 2002 +0000

description:
Make this compile when DEBUG is not defined.

diffstat:

 sys/arch/evbsh5/dev/sysfpga.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r a798ea8fcd63 -r b010725ddc49 sys/arch/evbsh5/dev/sysfpga.c
--- a/sys/arch/evbsh5/dev/sysfpga.c     Tue Oct 22 13:48:50 2002 +0000
+++ b/sys/arch/evbsh5/dev/sysfpga.c     Tue Oct 22 14:17:34 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sysfpga.c,v 1.12 2002/10/14 14:19:29 scw Exp $ */
+/*     $NetBSD: sysfpga.c,v 1.13 2002/10/22 14:17:34 scw Exp $ */
 
 /*
  * Copyright 2002 Wasabi Systems, Inc.
@@ -503,11 +503,10 @@
 struct evcnt *
 sysfpga_intr_evcnt(int group, int inum)
 {
-       struct sysfpga_softc *sc = sysfpga_sc;
        struct evcnt *ev = NULL;
 
        KDASSERT(group < SYSFPGA_NGROUPS);
-       KDASSERT(sc->sc_ih[group] != NULL);
+       KDASSERT(sysfpga_sc->sc_ih[group] != NULL);
 
        switch (group) {
        case SYSFPGA_IGROUP_SUPERIO:



Home | Main Index | Thread Index | Old Index