aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorJiri Pirko <[email protected]>2022-09-29 09:28:56 +0200
committerJakub Kicinski <[email protected]>2022-09-30 18:17:16 -0700
commit3fcb698d9c773d1e0ce5eb4374273457eb4c8338 (patch)
treebe5e2afae92482e1416cc78256ae3347b5bdf96c /tools/perf/scripts/python/bin
parent3406079bbb279e33ab4b8d9a30e4dd68ce7bcafe (diff)
net: devlink: introduce port registered assert helper and use it
Instead of checking devlink_port->devlink pointer for not being NULL which indicates that devlink port is registered, put this check to new pair of helpers similar to what we have for devlink and use them in other functions. Signed-off-by: Jiri Pirko <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions