summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJiri Pirko <jiri@nvidia.com>2026-03-12 13:03:57 +0300
committerJakub Kicinski <kuba@kernel.org>2026-03-14 23:08:47 +0300
commite2e3666fd3609bfc03c42bd8544be8cbd080d24d (patch)
treed94de8d9bd27b4b04d5554738d2ec9b8ae9eebfd /include
parent0f5531879afbf904f19a15b39f687a9ec47a82cc (diff)
downloadlinux-e2e3666fd3609bfc03c42bd8544be8cbd080d24d.tar.xz
devlink: avoid extra iterations when found devlink is not registered
Since the one found is not registered, very unlikely another one with the same bus_name/dev_name is going to be found. Stop right away and prepare common "found" path for the follow-up patch. Signed-off-by: Jiri Pirko <jiri@nvidia.com> Link: https://patch.msgid.link/20260312100407.551173-4-jiri@resnulli.us Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions