Skip to content

Commit

Permalink
Remove unused sound params
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandermbrown committed Feb 5, 2024
1 parent a9e41ad commit 044b41f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/virtio/sound.c
Original file line number Diff line number Diff line change
Expand Up @@ -500,8 +500,6 @@ static int handle_pcm_set_params(struct virtio_device *dev,
cmd.code = SDDF_SND_CMD_PCM_SET_PARAMS;
cmd.cookie = id;
cmd.stream_id = set_params->hdr.stream_id;
cmd.set_params.buffer_bytes = set_params->buffer_bytes;
cmd.set_params.period_bytes = set_params->period_bytes;
cmd.set_params.channels = set_params->channels;
cmd.set_params.format = set_params->format;
cmd.set_params.rate = set_params->rate;
Expand Down

0 comments on commit 044b41f

Please sign in to comment.