Skip to content
Commit 480e32eb authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: pcm: Simplify proc file destruction



The proc files are recursively freed by calling with the root
snd_info_entry object, so we don't have to keep each object for
releasing one by one.  Move the release of the PCM stream proc root at
the beginning, so that we can remove the redundant code and resource.

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent de89750c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment