]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: mop500: Deletion of unnecessary checks before the function call "of_node_put"
authorMarkus Elfring <elfring@users.sourceforge.net>
Tue, 2 Dec 2014 16:15:11 +0000 (17:15 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 3 Dec 2014 18:31:03 +0000 (18:31 +0000)
commit24db36f10d6e88c8c6b4ffda1282986cb432251e
tree7a205885d455a9f73158162049db8abee737da94
parent2e3c595233fbb201566d38c9846a0efec288942f
ASoC: mop500: Deletion of unnecessary checks before the function call "of_node_put"

The of_node_put() function tests whether its argument is NULL and then
returns immediately. Thus the test around the call is not needed.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/ux500/mop500.c