From: Inki Dae Date: Mon, 26 Sep 2016 01:58:22 +0000 (+0900) Subject: ASoC: max98504A: fix build warning X-Git-Tag: submit/tizen/20161010.025055~43 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c130157bbeb2881293a44544153ffd2517f07855;p=platform%2Fkernel%2Flinux-exynos.git 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 --- 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)