OSDN Git Service

ASoC: simple-card: Delete unneeded test before of_node_put
authorFabio Estevam <fabio.estevam@freescale.com>
Tue, 7 Oct 2014 18:29:58 +0000 (15:29 -0300)
committerMark Brown <broonie@kernel.org>
Mon, 20 Oct 2014 11:22:40 +0000 (12:22 +0100)
commit84d4cbe9a60a1fdd35b4dd69951f31c518b467d8
tree1fe3b184eb0249327a0a61ab9341924e4763f8e2
parentf114040e3ea6e07372334ade75d1ee0775c355e1
ASoC: simple-card: Delete unneeded test before of_node_put

of_node_put() supports NULL as its argument, so the initial test is not
necessary.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/generic/simple-card.c