diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2020-01-13 15:04:14 -0600 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-01-14 15:27:47 +0000 |
commit | 988b414775fe34278b1ca898f0b3a607eb49986b (patch) | |
tree | 24793af848a2bfeeb968a905baab4a31212d0434 | |
parent | 83fa677581daddd301b4f0337a0643fef7746689 (diff) | |
download | talos-op-linux-988b414775fe34278b1ca898f0b3a607eb49986b.tar.gz talos-op-linux-988b414775fe34278b1ca898f0b3a607eb49986b.zip |
ASoC: Intel: glk_rt5682_max98357a: removed unused variables
Fix GCC warning with W=1
sound/soc/intel/boards/glk_rt5682_max98357a.c:256:48: warning:
‘constraints_channels’ defined but not used [-Wunused-const-variable=]
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20200113210428.27457-5-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/intel/boards/glk_rt5682_max98357a.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/sound/soc/intel/boards/glk_rt5682_max98357a.c b/sound/soc/intel/boards/glk_rt5682_max98357a.c index 2bfc4365d957..4a6d117ea7af 100644 --- a/sound/soc/intel/boards/glk_rt5682_max98357a.c +++ b/sound/soc/intel/boards/glk_rt5682_max98357a.c @@ -249,16 +249,6 @@ static const struct snd_pcm_hw_constraint_list constraints_rates = { .mask = 0, }; -static const unsigned int channels[] = { - DUAL_CHANNEL, -}; - -static const struct snd_pcm_hw_constraint_list constraints_channels = { - .count = ARRAY_SIZE(channels), - .list = channels, - .mask = 0, -}; - static unsigned int channels_quad[] = { QUAD_CHANNEL, }; |