Re: [PATCH] ALSA: pcsp: Use common error handling code in snd_card_pcsp_probe()

Dan Carpenter
2017-08-22T12:16:25Z

err = snd_card_register(card);
> - if (err < 0) {
> + if (err) {
> +free_card:
> snd_card_free(card);
> return err;
> }

I thought we agreed, yesterday, to never use this style of error
handling?

regards,
dan carpenter