summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorInki Dae <inki.dae@samsung.com>2016-09-26 10:58:22 +0900
committerSeung-Woo Kim <sw0312.kim@samsung.com>2016-12-14 13:53:00 +0900
commitade613b6646bbc5a2f0d4a4a79a68314cb8962a9 (patch)
tree4aa476af5158e4fc2cf27b37b4b326bbbbe0e3a1 /sound
parent199b74a30fa1614949b72dd54e73a94c737d1710 (diff)
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 <inki.dae@samsung.com>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/max98504a.c4
1 files changed, 0 insertions, 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)