summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorAlexandre Ratchov <ratchov@cvs.openbsd.org>2016-12-12 06:47:23 +0000
committerAlexandre Ratchov <ratchov@cvs.openbsd.org>2016-12-12 06:47:23 +0000
commit54ea70e114007b343ce1c4e84b5720857236e1cb (patch)
tree6ce1d7a8cd7af4222cd31d134e9f4118c4dfcfc5 /sys/dev
parent27a62c139a2675f965acbf01b06de02309f3e87d (diff)
Remove (likely wrong) code commented since revision 1.1. From
Michael W. Bombardieri <mb at ii.net>
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/esa.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/dev/pci/esa.c b/sys/dev/pci/esa.c
index 72e762308c5..ff66e5a560d 100644
--- a/sys/dev/pci/esa.c
+++ b/sys/dev/pci/esa.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: esa.c,v 1.31 2016/09/19 06:46:44 ratchov Exp $ */
+/* $OpenBSD: esa.c,v 1.32 2016/12/12 06:47:22 ratchov Exp $ */
/* $NetBSD: esa.c,v 1.12 2002/03/24 14:17:35 jmcneill Exp $ */
/*
@@ -209,7 +209,6 @@ esa_set_params(void *hdl, int setmode, int usemode, struct audio_params *play,
struct audio_params *rec)
{
struct esa_voice *vc = hdl;
- //struct esa_softc *sc = (struct esa_softc *)vc->parent;
struct esa_channel *ch;
struct audio_params *p;
int mode;
@@ -614,9 +613,6 @@ esa_trigger_output(void *hdl, void *start, void *end, int blksize,
#undef LO
#undef HI
- /* XXX */
- //esa_commit_settings(vc);
-
sc->sc_ntimers++;
if (sc->sc_ntimers == 1) {
@@ -747,9 +743,6 @@ esa_trigger_input(void *hdl, void *start, void *end, int blksize,
#undef LO
#undef HI
- /* XXX */
- //esa_commit_settings(vc);
-
sc->sc_ntimers++;
if (sc->sc_ntimers == 1) {
esa_write_assp(sc, ESA_MEMTYPE_INTERNAL_DATA,