diff options
author | Geoffrey McRae <geoff@hostfission.com> | 2020-06-13 14:05:14 +1000 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2020-06-17 14:44:51 +0200 |
commit | 2f33ee08083ca540120ab572a7130f08c4d47be3 (patch) | |
tree | 2c3469c9a9ba21d3cfb1d8de70689dbe4b4ebdfc /audio | |
parent | 36963ed116b625c6dcdf71002c804f893dc6fdc1 (diff) |
audio/jack: remove unused stopped state
Signed-off-by: Geoffrey McRae <geoff@hostfission.com>
Message-id: 20200613040518.38172-3-geoff@hostfission.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'audio')
-rw-r--r-- | audio/jackaudio.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/audio/jackaudio.c b/audio/jackaudio.c index d0b6f748f2..fb8efd7af7 100644 --- a/audio/jackaudio.c +++ b/audio/jackaudio.c @@ -38,7 +38,6 @@ struct QJack; typedef enum QJackState { QJACK_STATE_DISCONNECTED, - QJACK_STATE_STOPPED, QJACK_STATE_RUNNING, QJACK_STATE_SHUTDOWN } @@ -549,9 +548,6 @@ static void qjack_client_fini(QJackClient *c) { switch (c->state) { case QJACK_STATE_RUNNING: - /* fallthrough */ - - case QJACK_STATE_STOPPED: for (int i = 0; i < c->nchannels; ++i) { jack_port_unregister(c->client, c->port[i]); } |