]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit69f4099dedd18acd3a9912d70c33708fbf1e36fc
tree12acd62c84d29e7f3ec31aedff61eacce9f60874
parenta1b9e8cd2e30b42d21471df749ae8db4a7735ec3
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