diff options
author | 2021-08-14 12:57:27 +0300 | |
---|---|---|
committer | 2021-08-14 13:59:10 +0100 | |
commit | 7ca973dc9fe589dc0ab2650641f4c7a19cc49ecd (patch) | |
tree | 19684b13152c49475f323ebfd210d2351332722e /include/net/devlink.h | |
parent | devlink: Simplify devlink_pernet_pre_exit call (diff) | |
download | linux-dev-7ca973dc9fe589dc0ab2650641f4c7a19cc49ecd.tar.xz linux-dev-7ca973dc9fe589dc0ab2650641f4c7a19cc49ecd.zip |
devlink: Remove check of always valid devlink pointer
Devlink objects are accessible only after they were registered and
have valid devlink_*->devlink pointers.
Remove that check and simplify respective fill functions as an outcome
of such change.
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/devlink.h')
0 files changed, 0 insertions, 0 deletions