From c130157bbeb2881293a44544153ffd2517f07855 Mon Sep 17 00:00:00 2001 From: Inki Dae Date: Mon, 26 Sep 2016 10:58:22 +0900 Subject: [PATCH] ASoC: max98504A: fix build warning This patch fixes below build warnings, sound/soc/codecs/max98504a.c:271:1: warning: label 'err_access' defined but not used [-Wunused-label] sound/soc/codecs/max98504a.c:173:15: warning: unused variable 'value' [-Wunused-variable] Change-Id: I74bbe99e44591052daa05eadcbfaa795fb0e99d4 Signed-off-by: Inki Dae --- sound/soc/codecs/max98504a.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sound/soc/codecs/max98504a.c b/sound/soc/codecs/max98504a.c index 6e963c12318c..43328aeb0551 100644 --- a/sound/soc/codecs/max98504a.c +++ b/sound/soc/codecs/max98504a.c @@ -170,7 +170,6 @@ static int max98504_probe(struct max98504_priv *max98504) u8 regval; int ret; - unsigned int value; msg_maxim("\n"); @@ -267,9 +266,6 @@ static int max98504_probe(struct max98504_priv *max98504) #endif return ret; - -err_access: - return ret; } int max98504_set_speaker_status(int OnOff) -- 2.34.1