diff options
author | zhong jiang | 2018-09-20 21:18:19 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2018-09-25 20:09:19 +0200 |
commit | bbbecc644a4fff76e8c89b9859701bdcde198d9c (patch) | |
tree | 40d7714288f4a5a1efa04547d489e6b6e4e14565 /drivers/misc | |
parent | coresight: dts: binding: Update coresight binding examples (diff) | |
download | kernel-qcow2-linux-bbbecc644a4fff76e8c89b9859701bdcde198d9c.tar.gz kernel-qcow2-linux-bbbecc644a4fff76e8c89b9859701bdcde198d9c.tar.xz kernel-qcow2-linux-bbbecc644a4fff76e8c89b9859701bdcde198d9c.zip |
coresight: Remove redundant null pointer check before of_node_put and put_device
of_node_put and put_device has taken the null pointer check into account.
So it is safe to remove the duplicated check.
Signed-off-by: zhong jiang <zhongjiang@huawei.com>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc')
0 files changed, 0 insertions, 0 deletions