diff options
author | Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com> | 2020-03-12 10:52:13 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-03-12 13:30:37 +0000 |
commit | 8cce6569e417f557781fe7f3a84667e611c3a160 (patch) | |
tree | 67ce13c8ef9503ae7720a8b794884daf4c8b5a02 /include/sound | |
parent | 4d90a4e677c5c45c787a774c84442e75c7ddd5be (diff) | |
download | linux-8cce6569e417f557781fe7f3a84667e611c3a160.tar.bz2 |
ASoC: (cosmetic) simplify dpcm_prune_paths()
Currently dpcm_prune_paths() has up to 4 nested condition and loop
levels, which forces the code to use flags for flow control.
Extracting widget status verification code from dpcm_prune_paths()
into a separate function simplifies the code.
Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Link: https://lore.kernel.org/r/20200312095214.15126-2-guennadi.liakhovetski@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound')
0 files changed, 0 insertions, 0 deletions