summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_export.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andy.shevchenko@gmail.com>2021-05-18 09:48:43 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-05-27 16:48:12 +0300
commit7e7ba9b3d46d47e9f75cbf9d5392583a958a9807 (patch)
tree392d27244aa24065ef014594d7ee1cf220d20367 /fs/xfs/xfs_export.c
parent0d71f80b1898311420b4d07183a1e693c9b20c9e (diff)
downloadlinux-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