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

ALSA: hda/via - Rewrite with error goto



Currently VIA codec driver invokes via_free() at each place of the
error path.  Move the error handling to the end of each function
commonly and do goto-error as a standard idiom.

This is a preliminary patch for the further cleanups, and no
functional changes.

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 0785b0ec
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment