Skip to content

Commit 2f33ee0

Browse files
gnifkraxel
authored andcommitted
audio/jack: remove unused stopped state
Signed-off-by: Geoffrey McRae <[email protected]> Message-id: [email protected] Signed-off-by: Gerd Hoffmann <[email protected]>
1 parent 36963ed commit 2f33ee0

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

audio/jackaudio.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ struct QJack;
3838

3939
typedef enum QJackState {
4040
QJACK_STATE_DISCONNECTED,
41-
QJACK_STATE_STOPPED,
4241
QJACK_STATE_RUNNING,
4342
QJACK_STATE_SHUTDOWN
4443
}
@@ -549,9 +548,6 @@ static void qjack_client_fini(QJackClient *c)
549548
{
550549
switch (c->state) {
551550
case QJACK_STATE_RUNNING:
552-
/* fallthrough */
553-
554-
case QJACK_STATE_STOPPED:
555551
for (int i = 0; i < c->nchannels; ++i) {
556552
jack_port_unregister(c->client, c->port[i]);
557553
}

0 commit comments

Comments
 (0)