diff options
author | Andy Shevchenko <andy.shevchenko@gmail.com> | 2021-05-18 09:48:43 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-05-27 16:48:12 +0300 |
commit | 7e7ba9b3d46d47e9f75cbf9d5392583a958a9807 (patch) | |
tree | 392d27244aa24065ef014594d7ee1cf220d20367 /fs/xfs/xfs_export.c | |
parent | 0d71f80b1898311420b4d07183a1e693c9b20c9e (diff) | |
download | linux-7e7ba9b3d46d47e9f75cbf9d5392583a958a9807.tar.xz |
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 'fs/xfs/xfs_export.c')
0 files changed, 0 insertions, 0 deletions