forked from Minki/linux
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>
This commit is contained in:
parent
74953e2010
commit
6cab3e1e65
@ -724,9 +724,6 @@ static void wm1811_jackdet_set_mode(struct snd_soc_codec *codec, u16 mode)
|
||||
{
|
||||
struct wm8994_priv *wm8994 = snd_soc_codec_get_drvdata(codec);
|
||||
|
||||
if (!wm8994->jackdet || !wm8994->jack_cb)
|
||||
return;
|
||||
|
||||
if (!wm8994->jackdet || !wm8994->jack_cb)
|
||||
return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user