[PATCH 3/3] ASoC: Intel: kbl_da7219_max98357a_rt5660: cleanup of some unused code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The code here deleted is not used in the driver.

Signed-off-by: Hui Wang <hui.wang@xxxxxxxxxxxxx>
---
 .../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

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux