summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJiri Pirko <jiri@nvidia.com>2022-09-29 09:28:56 +0200
committerJakub Kicinski <kuba@kernel.org>2022-09-30 18:17:16 -0700
commit3fcb698d9c773d1e0ce5eb4374273457eb4c8338 (patch)
treebe5e2afae92482e1416cc78256ae3347b5bdf96c /tools/perf/scripts/python
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 <jiri@nvidia.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions