diff options
author | Jaroslav Kysela <perex@perex.cz> | 2012-05-28 09:14:33 (GMT) |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-06-25 09:14:13 (GMT) |
commit | 6cab3e1e65bfe070f09bb091eeda182b171d5929 (patch) | |
tree | d9016ccb514e7e00f81534c5ff2d7f1f40c6b77f /sound | |
parent | 74953e201001b9582bf3125858cf6955650edb48 (diff) | |
download | linux-6cab3e1e65bfe070f09bb091eeda182b171d5929.tar.xz |
ASoC: wm8994: remove duplicate code
It seems that the code duplication was added at a merge operation.
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/wm8994.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c index aa8c98b..1436b6c 100644 --- a/sound/soc/codecs/wm8994.c +++ b/sound/soc/codecs/wm8994.c @@ -727,9 +727,6 @@ static void wm1811_jackdet_set_mode(struct snd_soc_codec *codec, u16 mode) if (!wm8994->jackdet || !wm8994->jack_cb) return; - if (!wm8994->jackdet || !wm8994->jack_cb) - return; - if (wm8994->active_refcount) mode = WM1811_JACKDET_MODE_AUDIO; |