Module Name: src
Committed By: christos
Date: Tue Mar 25 15:52:33 UTC 2014
Modified Files:
src/sys/dev/mvme: if_ie_mvme.c
Log Message:
fix unused
To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sys/dev/mvme/if_ie_mvme.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/mvme/if_ie_mvme.c
diff -u src/sys/dev/mvme/if_ie_mvme.c:1.19 src/sys/dev/mvme/if_ie_mvme.c:1.20
--- src/sys/dev/mvme/if_ie_mvme.c:1.19 Sun Jun 5 12:22:00 2011
+++ src/sys/dev/mvme/if_ie_mvme.c Tue Mar 25 11:52:33 2014
@@ -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;