ASoC: Intel: bytcr_rt5651: remove unused variable
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Mon, 13 Jan 2020 21:04:28 +0000 (15:04 -0600)
committerMark Brown <broonie@kernel.org>
Tue, 14 Jan 2020 15:31:18 +0000 (15:31 +0000)
Fix GCC warning with W=1

sound/soc/intel//boards/bytcr_rt5651.c:659:40: warning:
‘byt_rt5651_dai_params’ 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-19-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/bytcr_rt5651.c

index c0d322a859f714e68f66cc057174bb973ff9836b..3bb2732a9f7eb37407a53accf1fffd4a3fa87934 100644 (file)
@@ -656,14 +656,6 @@ static int byt_rt5651_init(struct snd_soc_pcm_runtime *runtime)
        return 0;
 }
 
-static const struct snd_soc_pcm_stream byt_rt5651_dai_params = {
-       .formats = SNDRV_PCM_FMTBIT_S24_LE,
-       .rate_min = 48000,
-       .rate_max = 48000,
-       .channels_min = 2,
-       .channels_max = 2,
-};
-
 static int byt_rt5651_codec_fixup(struct snd_soc_pcm_runtime *rtd,
                            struct snd_pcm_hw_params *params)
 {