diff options
| author | 2015-11-06 16:48:46 +0100 | |
|---|---|---|
| committer | 2015-12-05 02:04:03 +0100 | |
| commit | b7e16ec6e3d2ea0b62cf93a0e849db55f403a871 (patch) | |
| tree | f05d08a51e7823607898b35372656d9a48e99653 /include/linux | |
| parent | Linux 4.4-rc3 (diff) | |
power: bq2415x_charger: Delete 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 calls is not needed.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Acked-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
