From: Markus Elfring Date: Tue, 2 Dec 2014 16:15:11 +0000 (+0100) Subject: ASoC: mop500: Deletion of unnecessary checks before the function call "of_node_put" X-Git-Tag: omap-for-v3.20/drop-legacy-3517~123^2~20^2~15^6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1679b532870f565bc184434f545cdbd3fdeff6cf;p=pandora-kernel.git 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed