diff options
author | Jiri Pirko <jiri@nvidia.com> | 2023-12-16 13:29:53 +0100 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2023-12-19 15:31:40 +0100 |
commit | 337ad364c48a0db7cedb5abb8d5e9163792fd596 (patch) | |
tree | 542150c02d8a889eafe5ae6e06aa931be56b8c46 /net/devlink/devl_internal.h | |
parent | f7dd48ea76be30666f0614d6a06061185ed38c60 (diff) |
devlink: use devl_is_registered() helper instead xa_get_mark()
Instead of checking the xarray mark directly using xa_get_mark() helper
use devl_is_registered() helper which wraps it up. Note that there are
couple more users of xa_get_mark() left which are going to be handled
by the next patch.
Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net/devlink/devl_internal.h')
0 files changed, 0 insertions, 0 deletions