summaryrefslogtreecommitdiffstats
path: root/sound/soc/intel/skylake
diff options
context:
space:
mode:
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>2017-10-04 23:04:27 -0500
committerMark Brown <broonie@kernel.org>2017-10-09 10:15:43 +0100
commit0087f2013188d8b332cee2f74fd3c6754a49f620 (patch)
tree9861b417cd400fb11596e74798a29302f1ef04aa /sound/soc/intel/skylake
parent4b2b915f8887e5602a98b1da4fcb7c41c573cb13 (diff)
downloadlinux-0087f2013188d8b332cee2f74fd3c6754a49f620.tar.bz2
ASoC: Intel: cht_bsw_max98090: remove useless code, align with ChromeOS driver
Remove dead code which was missed in previous changes. This is not visible with git diff but there is a test+return on the same condition just above. Also reuse local variable instead of fetching the jack information twice. Tested on Acer R11 (cyan) Fixes: 3bbda5a38601 ('ASoC: Intel: cht_bsw_max98090_ti: Fix jack initialization') Cc: Thierry Escande <thierry.escande@collabora.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Acked-By: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/skylake')
0 files changed, 0 insertions, 0 deletions