Skip to content

Commit

Permalink
audio/pw: drop needless case statement
Browse files Browse the repository at this point in the history
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Volker Rümelin <vr_qemu@t-online.de>
Message-Id: <20230506163735.3481387-5-marcandre.lureau@redhat.com>
  • Loading branch information
elmarco committed Jul 17, 2023
1 parent 20c5124 commit 2d21695
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions audio/pwaudio.c
Original file line number Diff line number Diff line change
Expand Up @@ -197,16 +197,6 @@ on_stream_state_changed(void *data, enum pw_stream_state old,

trace_pw_state_changed(pw_stream_get_node_id(v->stream),
pw_stream_state_as_string(state));

switch (state) {
case PW_STREAM_STATE_ERROR:
case PW_STREAM_STATE_UNCONNECTED:
break;
case PW_STREAM_STATE_PAUSED:
case PW_STREAM_STATE_CONNECTING:
case PW_STREAM_STATE_STREAMING:
break;
}
}

static const struct pw_stream_events capture_stream_events = {
Expand Down

0 comments on commit 2d21695

Please sign in to comment.