Skip to content

Commit c5614fb

Browse files
YueHaibingbroonie
authored andcommitted
ASoC: Intel: kbl_da7219_max98357a: remove unused variable 'constraints_16000' and 'ch_mono'
sound/soc/intel/boards/kbl_da7219_max98357a.c:343:48: warning: constraints_16000 defined but not used [-Wunused-const-variable=] sound/soc/intel/boards/kbl_da7219_max98357a.c:348:27: warning: ch_mono defined but not used [-Wunused-const-variable=] They are never used, so can be removed. Reported-by: Hulk Robot <[email protected]> Signed-off-by: YueHaibing <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 4bb16cd commit c5614fb

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

sound/soc/intel/boards/kbl_da7219_max98357a.c

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -336,19 +336,6 @@ static struct snd_soc_ops kabylake_dmic_ops = {
336336
.startup = kabylake_dmic_startup,
337337
};
338338

339-
static const unsigned int rates_16000[] = {
340-
16000,
341-
};
342-
343-
static const struct snd_pcm_hw_constraint_list constraints_16000 = {
344-
.count = ARRAY_SIZE(rates_16000),
345-
.list = rates_16000,
346-
};
347-
348-
static const unsigned int ch_mono[] = {
349-
1,
350-
};
351-
352339
SND_SOC_DAILINK_DEF(dummy,
353340
DAILINK_COMP_ARRAY(COMP_DUMMY()));
354341

0 commit comments

Comments
 (0)