[alsa-devel] [PATCH] ASoC: simple-card: Cleanup __asoc_simple_card_dai_init() ret check

Mark Brown broonie at kernel.org
Tue Dec 31 13:49:45 CET 2013

On Mon, Dec 23, 2013 at 01:24:59PM +0800, Xiubo Li wrote:
> The ret parameter is always equal to zero till here.

Applied, thanks.  This is on the edge of what's a good cleanup - it's
a taste thing if it's better to have every call be the same so the code
looks more regular or if it's better to have the redundant test removed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20131231/6f0f7771/attachment.sig>

More information about the Alsa-devel mailing list