Browse Source

Merge remote-tracking branch 'asoc/topic/jack' into asoc-next

Mark Brown 12 years ago
parent
commit
81467c3325
1 changed files with 0 additions and 3 deletions
  1. 0 3
      sound/soc/soc-jack.c

+ 0 - 3
sound/soc/soc-jack.c

@@ -66,7 +66,6 @@ void snd_soc_jack_report(struct snd_soc_jack *jack, int status, int mask)
 	struct snd_soc_dapm_context *dapm;
 	struct snd_soc_jack_pin *pin;
 	int enable;
-	int oldstatus;
 
 	trace_snd_soc_jack_report(jack, mask, status);
 
@@ -78,8 +77,6 @@ void snd_soc_jack_report(struct snd_soc_jack *jack, int status, int mask)
 
 	mutex_lock(&jack->mutex);
 
-	oldstatus = jack->status;
-
 	jack->status &= ~mask;
 	jack->status |= status & mask;