summaryrefslogtreecommitdiffstats
path: root/include/sound/pcm.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2019-01-13 10:19:32 +0100
committerTakashi Iwai <tiwai@suse.de>2019-01-21 16:40:19 +0100
commit7df5a5f66b8fc2cd51649b3f1b0b88dc59c49d2d (patch)
treeb3da6be38e7fa4f7851a8709e8ce4236348ff356 /include/sound/pcm.h
parenta41c4cb913b53bf74f1ec66a4b96057626c87009 (diff)
downloadlinux-7df5a5f66b8fc2cd51649b3f1b0b88dc59c49d2d.tar.bz2
ALSA: pcm: Avoid confusing loop in snd_pcm_unlink()
The snd_pcm_group_for_each_entry() loop found in snd_pcm_unlink() is only for taking the first list entry. Use list_first_entry() to make clearer. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound/pcm.h')
0 files changed, 0 insertions, 0 deletions