summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2017-06-09 00:37:02 +0300
committerTakashi Iwai <tiwai@suse.de>2017-06-09 00:40:32 +0300
commit0d4e399965738bb90dcee2fd5aeb15c1ccc81b42 (patch)
tree7fcb590bd6efcb633ca1838c8e28f5a853a5de7d /scripts
parent9cc07f55d42be47ad2b06dae9541d9fd964c3287 (diff)
downloadlinux-0d4e399965738bb90dcee2fd5aeb15c1ccc81b42.tar.xz
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 <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions