]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - sound/soc/fsl/imx-spdif.c
Merge remote-tracking branches 'asoc/topic/wm8991', 'asoc/topic/wm8993', 'asoc/topic...
[karo-tx-linux.git] / sound / soc / fsl / imx-spdif.c
index e1dc40143600a05854331a539590603d0d859fed..0c9068ebe1e7f49a031ab62230f9c16680675bb6 100644 (file)
@@ -74,8 +74,7 @@ static int imx_spdif_audio_probe(struct platform_device *pdev)
        platform_set_drvdata(pdev, data);
 
 end:
-       if (spdif_np)
-               of_node_put(spdif_np);
+       of_node_put(spdif_np);
 
        return ret;
 }