diff options
| author | mrg <mrg@NetBSD.org> | 2019-02-03 03:19:25 +0000 |
|---|---|---|
| committer | mrg <mrg@NetBSD.org> | 2019-02-03 03:19:25 +0000 |
| commit | 788768547b3857c4a91dd4dfdf8fc4ffe855cddc (patch) | |
| tree | 05c0bb3274b13ebb5db25e521a19b68688a65067 /sys/dev/bluetooth | |
| parent | 347959000863b79ceb826308162ed125f4a420ac (diff) | |
- add or adjust /* FALLTHROUGH */ where appropriate
- add __unreachable() after functions that can return but won't in
this case, and thus can't be marked __dead easily
Diffstat (limited to 'sys/dev/bluetooth')
| -rw-r--r-- | sys/dev/bluetooth/btsco.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/bluetooth/btsco.c b/sys/dev/bluetooth/btsco.c index 36d11a31a8d..633c1d814fb 100644 --- a/sys/dev/bluetooth/btsco.c +++ b/sys/dev/bluetooth/btsco.c @@ -1,4 +1,4 @@ -/* $NetBSD: btsco.c,v 1.36 2017/06/01 02:45:09 chs Exp $ */ +/* $NetBSD: btsco.c,v 1.37 2019/02/03 03:19:27 mrg Exp $ */ /*- * Copyright (c) 2006 Itronix Inc. @@ -32,7 +32,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: btsco.c,v 1.36 2017/06/01 02:45:09 chs Exp $"); +__KERNEL_RCSID(0, "$NetBSD: btsco.c,v 1.37 2019/02/03 03:19:27 mrg Exp $"); #include <sys/param.h> #include <sys/audioio.h> @@ -632,7 +632,7 @@ btsco_open(void *hdl, int flags) case BTSCO_CLOSED: /* disconnected */ err = sc->sc_err; - /* fall through to */ + /* FALLTHROUGH */ case BTSCO_WAIT_CONNECT: /* error */ if (sc->sc_sco != NULL) sco_detach_pcb(&sc->sc_sco); |
