ASoC: Intel: Atom: simplify boolean tests
Detected with Coccinelle Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:

committed by
Mark Brown

parent
e295450dd8
commit
10583cdac2
@@ -647,7 +647,7 @@ static int sst_swm_mixer_event(struct snd_soc_dapm_widget *w,
|
||||
set_mixer = false;
|
||||
}
|
||||
|
||||
if (set_mixer == false)
|
||||
if (!set_mixer)
|
||||
return 0;
|
||||
|
||||
if (SND_SOC_DAPM_EVENT_ON(event) ||
|
||||
|
Reference in New Issue
Block a user