Remove unused variable 'codec' from sound/soc/codecs/tlv320aic23.c
Subsystems (3)
PATCH 1/1 Remove unused variable 'codec' from sound/soc/codecs/tlv320aic23.c
[ Apologies if this is not the proper list for this patch, but I couldn't find any list more appropriate for this]
Below patch removes the following warning. sound/soc/codecs/tlv320aic23.c:424: warning: unused variable 'codec'
Signed-off-by Manish Katiyar <[email protected]>
--- sound/soc/codecs/tlv320aic23.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)
sound/soc/codecs/tlv320aic23.c +0 -0
@@ -421,8 +421,6 @@ static int tlv320aic23_set_dai_fmt(struct
snd_soc_dai *codec_dai,
static int tlv320aic23_set_dai_sysclk(struct snd_soc_dai *codec_dai,
int clk_id, unsigned int freq, int dir)
{
- struct snd_soc_codec *codec = codec_dai->codec;
-
switch (freq) {
case 12000000:
return 0;
Signature · 5 lines
1.5.4.3 Thanks - Manish