diff options
author | Guennadi Liakhovetski <[email protected]> | 2020-03-12 10:52:13 +0100 |
---|---|---|
committer | Mark Brown <[email protected]> | 2020-03-12 13:30:37 +0000 |
commit | 8cce6569e417f557781fe7f3a84667e611c3a160 (patch) | |
tree | 67ce13c8ef9503ae7720a8b794884daf4c8b5a02 /lib/memory-notifier-error-inject.c | |
parent | 4d90a4e677c5c45c787a774c84442e75c7ddd5be (diff) |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions