[alsa-devel] [PATCH 3/3] ASoC: Intel: kbl_da7219_max98357a_rt5660: cleanup of some unused code
Hui Wang
hui.wang at canonical.com
Thu Dec 6 15:52:07 CET 2018
The code here deleted is not used in the driver.
Signed-off-by: Hui Wang <hui.wang at canonical.com>
---
.../soc/intel/boards/kbl_da7219_max98357a_rt5660.c | 13 -------------
1 file changed, 13 deletions(-)
diff --git a/sound/soc/intel/boards/kbl_da7219_max98357a_rt5660.c b/sound/soc/intel/boards/kbl_da7219_max98357a_rt5660.c
index 6ac8163d4c35..cbfe66a9d7c7 100644
--- a/sound/soc/intel/boards/kbl_da7219_max98357a_rt5660.c
+++ b/sound/soc/intel/boards/kbl_da7219_max98357a_rt5660.c
@@ -502,19 +502,6 @@ static struct snd_soc_ops kabylake_dmic_ops = {
.startup = kabylake_dmic_startup,
};
-static const unsigned int rates_16000[] = {
- 16000,
-};
-
-static const struct snd_pcm_hw_constraint_list constraints_16000 = {
- .count = ARRAY_SIZE(rates_16000),
- .list = rates_16000,
-};
-
-static const unsigned int ch_mono[] = {
- 1,
-};
-
/* kabylake digital audio interface glue - connects codec <--> CPU */
static struct snd_soc_dai_link kabylake_dais[] = {
/* Front End DAI links */
--
2.17.1
More information about the Alsa-devel
mailing list