audio: mux: Remove unused variable

valid_bit_depth isn't used anywhere.

Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
This commit is contained in:
Ranjani Sridharan 2023-08-15 22:05:54 -07:00 committed by Liam Girdwood
parent 8f6018057b
commit 1358afacc9
1 changed files with 1 additions and 2 deletions

View File

@ -276,7 +276,7 @@ static void set_mux_params(struct processing_module *mod)
struct comp_buffer *sink, *source;
struct comp_buffer __sparse_cache *sink_c, *source_c;
struct list_item *source_list;
int j, valid_bit_depth;
int j;
const uint32_t byte_align = 1;
const uint32_t frame_align_req = 1;
@ -321,7 +321,6 @@ static void set_mux_params(struct processing_module *mod)
&source_c->stream);
j = source_c->id;
cd->config.streams[j].pipeline_id = source_c->pipeline_id;
valid_bit_depth = cd->md.base_cfg.audio_fmt.valid_bit_depth;
if (j == BASE_CFG_QUEUED_ID)
audio_fmt = &cd->md.base_cfg.audio_fmt;
else