Skip to content

Commit

Permalink
ASoC: wm8994: remove duplicate code
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jaroslav Kysela authored and Takashi Iwai committed Jun 25, 2012
1 parent 74953e2 commit 6cab3e1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions sound/soc/codecs/wm8994.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 6cab3e1

Please sign in to comment.