Skip to content

Commit

Permalink
audio/jack: remove unused stopped state
Browse files Browse the repository at this point in the history
Signed-off-by: Geoffrey McRae <geoff@hostfission.com>
Message-id: 20200613040518.38172-3-geoff@hostfission.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
  • Loading branch information
gnif authored and kraxel committed Jun 17, 2020
1 parent 36963ed commit 2f33ee0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions audio/jackaudio.c
Expand Up @@ -38,7 +38,6 @@ struct QJack;

typedef enum QJackState {
QJACK_STATE_DISCONNECTED,
QJACK_STATE_STOPPED,
QJACK_STATE_RUNNING,
QJACK_STATE_SHUTDOWN
}
Expand Down Expand Up @@ -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]);
}
Expand Down

0 comments on commit 2f33ee0

Please sign in to comment.