ASoC: Intel: cht_bsw_rt5672: remove useless test
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Tue, 29 Jan 2019 15:42:20 +0000 (09:42 -0600)
committerMark Brown <broonie@kernel.org>
Tue, 29 Jan 2019 15:48:11 +0000 (15:48 +0000)
commit53b6d0adffb0505db5332589e78da1c66f7e626a
tree12acd62c84d29e7f3ec31aedff61eacce9f60874
parentb291f42a37187cbd78ff59a34f2751164baad8bf
ASoC: Intel: cht_bsw_rt5672: remove useless test

For some reason we test if the machine is passed as a parameter before
fixing up the codec name. This is unnecessary, generates false
positives in static analysis tools and done only in this machine
driver, remove and adjust indentation.

Reported-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/cht_bsw_rt5672.c