From 48fb4fe5589d4c3f4716da7d2063792aa51cf56e Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Fri, 2 Jul 2004 11:19:44 +0000 Subject: Remove unused extra intrhand. --- sys/arch/mvme88k/dev/vx.c | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'sys') diff --git a/sys/arch/mvme88k/dev/vx.c b/sys/arch/mvme88k/dev/vx.c index 2307df2a4e9..fb1ed22d524 100644 --- a/sys/arch/mvme88k/dev/vx.c +++ b/sys/arch/mvme88k/dev/vx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vx.c,v 1.33 2004/05/26 21:16:10 miod Exp $ */ +/* $OpenBSD: vx.c,v 1.34 2004/07/02 11:19:43 miod Exp $ */ /* * Copyright (c) 1999 Steve Murphree, Jr. * All rights reserved. @@ -73,8 +73,7 @@ struct vxsoftc { char channel_number; struct packet sc_bppwait_pkt; void *sc_bppwait_pktp; - struct intrhand sc_ih_c; - struct intrhand sc_ih_s; + struct intrhand sc_ih; int sc_vec; struct envelope *elist_head, *elist_tail; struct packet *plist_head, *plist_tail; @@ -222,12 +221,12 @@ vxattach(struct device *parent, struct device *self, void *aux) } /* enable interrupts */ - sc->sc_ih_c.ih_fn = vx_intr; - sc->sc_ih_c.ih_arg = sc; - sc->sc_ih_c.ih_wantframe = 0; - sc->sc_ih_c.ih_ipl = IPL_TTY; + sc->sc_ih.ih_fn = vx_intr; + sc->sc_ih.ih_arg = sc; + sc->sc_ih.ih_wantframe = 0; + sc->sc_ih.ih_ipl = IPL_TTY; - vmeintr_establish(ca->ca_vec, &sc->sc_ih_c); + vmeintr_establish(ca->ca_vec, &sc->sc_ih); evcnt_attach(&sc->sc_dev, "intr", &sc->sc_intrcnt); } -- cgit v1.2.3