aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTakashi Sakamoto <[email protected]>2017-06-09 06:37:02 +0900
committerTakashi Iwai <[email protected]>2017-06-08 23:40:32 +0200
commit0d4e399965738bb90dcee2fd5aeb15c1ccc81b42 (patch)
tree7fcb590bd6efcb633ca1838c8e28f5a853a5de7d /tools/perf/scripts/python
parent9cc07f55d42be47ad2b06dae9541d9fd964c3287 (diff)
ALSA: pcm: use goto statement instead of while statement to reduce indentation
In a process to calculate parameters of PCM substream, application of all rules is iterated several times till parameter dependencies are satisfied. In current implementation, two loops are used for the design, however this brings two-level indentation and decline readability. This commit attempts to reduce the indentation by using goto statement, instead of outer while loop. Signed-off-by: Takashi Sakamoto <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions