diff options
| author | christos <christos@NetBSD.org> | 2014-03-25 15:52:16 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2014-03-25 15:52:16 +0000 |
| commit | 0e137e09b6ae6e617aa055ceaa2119dacb00cd2d (patch) | |
| tree | 39fd04d1d8d4d8ffd195d1c8df8c1b1e61b39707 /sys/dev | |
| parent | 3671024b2eb80c5dabd81e023c3d9d02cd1f7e5a (diff) | |
fix unused
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/mvme/clmpcc_pcctwo.c | 6 | ||||
| -rw-r--r-- | sys/dev/mvme/if_ie_mvme.c | 7 |
2 files changed, 6 insertions, 7 deletions
diff --git a/sys/dev/mvme/clmpcc_pcctwo.c b/sys/dev/mvme/clmpcc_pcctwo.c index 603146f2aee..36a800ebae6 100644 --- a/sys/dev/mvme/clmpcc_pcctwo.c +++ b/sys/dev/mvme/clmpcc_pcctwo.c @@ -1,4 +1,4 @@ -/* $NetBSD: clmpcc_pcctwo.c,v 1.19 2012/10/27 17:18:27 chs Exp $ */ +/* $NetBSD: clmpcc_pcctwo.c,v 1.20 2014/03/25 15:52:16 christos Exp $ */ /*- * Copyright (c) 1999, 2002 The NetBSD Foundation, Inc. @@ -34,7 +34,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: clmpcc_pcctwo.c,v 1.19 2012/10/27 17:18:27 chs Exp $"); +__KERNEL_RCSID(0, "$NetBSD: clmpcc_pcctwo.c,v 1.20 2014/03/25 15:52:16 christos Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -168,6 +168,7 @@ clmpcc_pcctwo_iackhook(struct clmpcc_softc *sc, int which) } foo = pcc2_reg_read(sys_pcctwo, offset); + __USE(foo); } /* @@ -210,6 +211,7 @@ clmpcc_pcctwo_consiackhook(struct clmpcc_softc *sc, int which) PCCTWO_REG_OFF]); foo = bus_space_read_1(&_mainbus_space_tag, bush, offset); + __USE(foo); #else #error Need consiack hook #endif diff --git a/sys/dev/mvme/if_ie_mvme.c b/sys/dev/mvme/if_ie_mvme.c index 8b1c14368c7..b15294b4a4d 100644 --- a/sys/dev/mvme/if_ie_mvme.c +++ b/sys/dev/mvme/if_ie_mvme.c @@ -1,4 +1,4 @@ -/* $NetBSD: if_ie_mvme.c,v 1.19 2011/06/05 16:22:00 tsutsui Exp $ */ +/* $NetBSD: if_ie_mvme.c,v 1.20 2014/03/25 15:52:33 christos Exp $ */ /*- * Copyright (c) 1999, 2002 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: if_ie_mvme.c,v 1.19 2011/06/05 16:22:00 tsutsui Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_ie_mvme.c,v 1.20 2014/03/25 15:52:33 christos Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -130,11 +130,8 @@ ie_reset(struct ie_softc *sc, int why) static int ie_intrhook(struct ie_softc *sc, int when) { - struct ie_pcctwo_softc *ps; u_int8_t reg; - ps = (struct ie_pcctwo_softc *) sc; - if (when == INTR_EXIT) { reg = pcc2_reg_read(sys_pcctwo, PCC2REG_ETH_ICSR); reg |= PCCTWO_ICR_ICLR; |
