[alsa-devel] [PATCH 1/1] ASoC: mop500: Deletion of unnecessary checks before the function call "of_node_put"

Mark Brown broonie at kernel.org
Wed Dec 3 19:31:23 CET 2014


On Tue, Dec 02, 2014 at 05:40:11PM +0100, SF Markus Elfring wrote:
> From: Markus Elfring <elfring at users.sourceforge.net>
> Date: Tue, 2 Dec 2014 17:15:11 +0100
> 
> The of_node_put() function tests whether its argument is NULL and then
> returns immediately. Thus the test around the call is not needed.

Sorry, realised what the dependency was - applied, thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20141203/aeef83c1/attachment-0001.sig>


More information about the Alsa-devel mailing list