diff options
author | Jolan Luff <jolan@cvs.openbsd.org> | 2006-04-21 15:47:28 +0000 |
---|---|---|
committer | Jolan Luff <jolan@cvs.openbsd.org> | 2006-04-21 15:47:28 +0000 |
commit | c3a38ad59197e8fb7c3d9b615f3a49c47eb3e46e (patch) | |
tree | 93cd47165f98ca5049726d23273031f8336f0500 /sys/dev/usb | |
parent | 2417edddb9a23f2f3ddc9c56a51cbe8fc8a488ce (diff) |
remove a couple of unreachable statements, one found by lint, one found
by my eyes
Diffstat (limited to 'sys/dev/usb')
-rw-r--r-- | sys/dev/usb/uaudio.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/usb/uaudio.c b/sys/dev/usb/uaudio.c index a6d0d9f79f4..50342a9df1f 100644 --- a/sys/dev/usb/uaudio.c +++ b/sys/dev/usb/uaudio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uaudio.c,v 1.34 2006/01/06 11:34:08 fgsch Exp $ */ +/* $OpenBSD: uaudio.c,v 1.35 2006/04/21 15:47:27 jolan Exp $ */ /* $NetBSD: uaudio.c,v 1.90 2004/10/29 17:12:53 kent Exp $ */ /* @@ -484,8 +484,6 @@ uaudio_activate(device_ptr_t self, enum devact act) switch (act) { case DVACT_ACTIVATE: return (EOPNOTSUPP); - break; - case DVACT_DEACTIVATE: if (sc->sc_audiodev != NULL) rv = config_deactivate(sc->sc_audiodev); @@ -1069,7 +1067,6 @@ uaudio_feature_name(const struct io_terminal *iot, struct mixerctl *mix) DPRINTF(("%s: 'master' for 0x%.4x\n", __func__, terminal_type)); return AudioNmaster; } - return AudioNmaster; } Static void |