commit | beab47d55b883e85bec7771a899ac791c6f92c80 | [log] [tgz] |
---|---|---|
author | Markus Elfring <elfring@users.sourceforge.net> | Tue Jul 19 22:42:22 2016 +0200 |
committer | Rob Herring <robh@kernel.org> | Tue Aug 09 12:36:27 2016 -0500 |
tree | d833875e56de6d384ba03ee964f325d4664ed3be | |
parent | 29b4817d4018df78086157ea3a55c1d9424a7cfc [diff] |
of: Delete an unnecessary check 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: Rob Herring <robh@kernel.org>