summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjolan <jolan@openbsd.org>2006-04-21 15:47:27 +0000
committerjolan <jolan@openbsd.org>2006-04-21 15:47:27 +0000
commit72845a1d477d5d8c457c33d26e74b89950cc59b6 (patch)
tree590ad4ccc11410c5e6dd55204c813a39e703185e
parentmatch former rcs implementation warning message if no options are (diff)
downloadwireguard-openbsd-72845a1d477d5d8c457c33d26e74b89950cc59b6.tar.xz
wireguard-openbsd-72845a1d477d5d8c457c33d26e74b89950cc59b6.zip
remove a couple of unreachable statements, one found by lint, one found
by my eyes
-rw-r--r--sys/dev/usb/uaudio.c5
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