summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>2020-03-12 10:52:13 +0100
committerMark Brown <broonie@kernel.org>2020-03-12 14:30:37 +0100
commit8cce6569e417f557781fe7f3a84667e611c3a160 (patch)
tree67ce13c8ef9503ae7720a8b794884daf4c8b5a02 /usr
parentMerge tag 'v5.6-rc5' into asoc-5.7 (diff)
downloadlinux-8cce6569e417f557781fe7f3a84667e611c3a160.tar.xz
linux-8cce6569e417f557781fe7f3a84667e611c3a160.zip
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 'usr')
0 files changed, 0 insertions, 0 deletions