diff options
author | 2021-05-18 09:48:43 +0300 | |
---|---|---|
committer | 2021-05-27 15:48:12 +0200 | |
commit | 7e7ba9b3d46d47e9f75cbf9d5392583a958a9807 (patch) | |
tree | 392d27244aa24065ef014594d7ee1cf220d20367 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | driver core: auxiliary bus: Fix typo in the docs (diff) | |
download | linux-dev-7e7ba9b3d46d47e9f75cbf9d5392583a958a9807.tar.xz linux-dev-7e7ba9b3d46d47e9f75cbf9d5392583a958a9807.zip |
device property: Don't check for NULL twice in the loops
In fwnode_get_next_available_child_node() we check next_child for NULL
twice. All the same in fwnode_get_next_parent_dev() we may avoid checking
fwnode for NULL twice.
Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20210518064843.3524015-1-andy.shevchenko@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions