diff options
author | Jiri Pirko <jiri@nvidia.com> | 2022-09-29 10:28:56 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-10-01 04:17:16 +0300 |
commit | 3fcb698d9c773d1e0ce5eb4374273457eb4c8338 (patch) | |
tree | be5e2afae92482e1416cc78256ae3347b5bdf96c /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 3406079bbb279e33ab4b8d9a30e4dd68ce7bcafe (diff) | |
download | linux-3fcb698d9c773d1e0ce5eb4374273457eb4c8338.tar.xz |
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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions