Clean up open/close.

This commit is contained in:
mycroft 2004-07-09 02:51:17 +00:00
parent b09c8ea34a
commit bde8e6c1bb

View File

@ -1,4 +1,4 @@
/* $NetBSD: bba.c,v 1.20 2003/05/03 18:11:41 wiz Exp $ */ /* $NetBSD: bba.c,v 1.21 2004/07/09 02:51:17 mycroft Exp $ */
/* /*
* Copyright (c) 2000 The NetBSD Foundation, Inc. * Copyright (c) 2000 The NetBSD Foundation, Inc.
@ -36,7 +36,7 @@
/* maxine/alpha baseboard audio (bba) */ /* maxine/alpha baseboard audio (bba) */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: bba.c,v 1.20 2003/05/03 18:11:41 wiz Exp $"); __KERNEL_RCSID(0, "$NetBSD: bba.c,v 1.21 2004/07/09 02:51:17 mycroft Exp $");
#include <sys/param.h> #include <sys/param.h>
#include <sys/systm.h> #include <sys/systm.h>
@ -249,7 +249,6 @@ void
bba_onopen(sc) bba_onopen(sc)
struct am7930_softc *sc; struct am7930_softc *sc;
{ {
bba_reset((struct bba_softc *)sc, 0);
} }
@ -257,8 +256,6 @@ void
bba_onclose(sc) bba_onclose(sc)
struct am7930_softc *sc; struct am7930_softc *sc;
{ {
bba_halt_input((struct bba_softc *)sc);
bba_halt_output((struct bba_softc *)sc);
} }