diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2016-07-19 22:42:22 +0200 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2016-08-09 19:36:27 +0200 |
commit | beab47d55b883e85bec7771a899ac791c6f92c80 (patch) | |
tree | d833875e56de6d384ba03ee964f325d4664ed3be /arch | |
parent | Linux 4.8-rc1 (diff) | |
download | linux-beab47d55b883e85bec7771a899ac791c6f92c80.tar.xz linux-beab47d55b883e85bec7771a899ac791c6f92c80.zip |
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>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions