Message ID | 20200619131741.10857-3-kraxel@redhat.com |
---|---|
State | New |
Headers | show |
Series | [PULL,1/7] audio/jack: fix invalid minimum buffer size check | expand |
diff --git a/audio/jackaudio.c b/audio/jackaudio.c index d0b6f748f26c..fb8efd7af7c7 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]); }