Skip to content

Commit 042117b

Browse files
committed
Audio: Smart Amp: Avoid warning about unused
The variable sink_ch is unused. This avoids warning/error: sof/workspace/sof/src/audio/smart_amp/smart_amp_generic.c:224:6: error: unused variable 'sink_ch' [-Werror,-Wunused-variable] Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
1 parent 5d42695 commit 042117b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/audio/smart_amp/smart_amp_generic.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,6 @@ static void feed_s32_to_s24(const struct smart_amp_mod_stream *sink_mod, uint32_
221221
const struct audio_stream __sparse_cache *sink)
222222
{
223223
int i;
224-
int sink_ch = audio_stream_get_channels(sink);
225224
int n_mod = frames * sink_mod->channels;
226225
int32_t *mod_ptr = (int32_t *)sink_mod->buf.data;
227226

0 commit comments

Comments
 (0)