linux/net/devlink
Jiri Pirko 543753d9e2 devlink: remove devlink_dump_for_each_instance_get() helper
devlink_dump_for_each_instance_get() is currently called from
a single place in netlink.c. As there is no need to use
this helper anywhere else in the future, remove it and
call devlinks_xa_find_get() directly from while loop
in devlink_nl_instance_iter_dump(). Also remove redundant
idx clear on loop end as it is already done
in devlink_nl_instance_iter_dump().

Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2023-01-19 19:08:38 -08:00
..
core.c devlink: remove reporters_lock 2023-01-19 19:08:37 -08:00
devl_internal.h devlink: remove devlink_dump_for_each_instance_get() helper 2023-01-19 19:08:38 -08:00
leftover.c devlink: convert reporters dump to devlink_nl_instance_iter_dump() 2023-01-19 19:08:38 -08:00
Makefile devlink: split out netlink code 2023-01-05 22:13:39 -08:00
netlink.c devlink: remove devlink_dump_for_each_instance_get() helper 2023-01-19 19:08:38 -08:00