Skip to content
Snippets Groups Projects
Commit 7df5a5f6 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

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: default avatarTakashi Iwai <tiwai@suse.de>
parent a41c4cb9
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment