]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: mxs-saif: Avoid unnecessary check
authorTang Bin <tangbin@cmss.chinamobile.com>
Mon, 20 Apr 2020 14:25:09 +0000 (22:25 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 27 Apr 2020 13:08:41 +0000 (14:08 +0100)
commit9bbcd9de45060cd9a9b8460faa812caf08a3e560
treec14bc10f2af13100de05ff956e3ff2f82768ed46
parent87b86e75a0c7f06432877ddb76676113ce415e62
ASoC: mxs-saif: Avoid unnecessary check

The function mxs_saif_probe() is only called with an
openfirmware platform device. Therefore there is no
need to check that it has an openfirmware node.

Signed-off-by: Shengju Zhang <zhangshengju@cmss.chinamobile.com>
Signed-off-by: Tang Bin <tangbin@cmss.chinamobile.com>
Link: https://lore.kernel.org/r/20200420142509.9728-1-tangbin@cmss.chinamobile.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/mxs/mxs-saif.c