diff options
author | Jiri Pirko <[email protected]> | 2022-09-29 09:28:56 +0200 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2022-09-30 18:17:16 -0700 |
commit | 3fcb698d9c773d1e0ce5eb4374273457eb4c8338 (patch) | |
tree | be5e2afae92482e1416cc78256ae3347b5bdf96c /scripts/generate_rust_analyzer.py | |
parent | 3406079bbb279e33ab4b8d9a30e4dd68ce7bcafe (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 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions