]> 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)
commit2baf5e56584393ea54eee04e2cc18771d748478a
tree12acd62c84d29e7f3ec31aedff61eacce9f60874
parent82d61bae1a57a30633a2c17ef6d0969a52e79187
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