ALSA: pcm: adaption of code formatting
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Thu, 8 Jun 2017 21:37:04 +0000 (06:37 +0900)
committerTakashi Iwai <tiwai@suse.de>
Thu, 8 Jun 2017 21:40:35 +0000 (23:40 +0200)
commita1c06e39a9373501b4f28caf37fbccba52532f79
tree400880fde42e809cf3f8de391f0fc269cd8b3efb
parentd656b4a6549f0f5863b7888b25a7b20d03ecbce7
ALSA: pcm: adaption of code formatting

This commit modifies current for readability in below aspects:
 - use bool type variable instead of int type variable assigned to 0/1
 - move variable definition from loop to top of the function definition

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/pcm_native.c