diff options
author | Leon Romanovsky <leonro@nvidia.com> | 2021-08-14 12:57:27 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-08-14 13:59:10 +0100 |
commit | 7ca973dc9fe589dc0ab2650641f4c7a19cc49ecd (patch) | |
tree | 19684b13152c49475f323ebfd210d2351332722e /include/net/devlink.h | |
parent | cbf6ab672eb425ac1cd7f8c7c4066f3bb0a78e50 (diff) | |
download | linux-7ca973dc9fe589dc0ab2650641f4c7a19cc49ecd.tar.gz linux-7ca973dc9fe589dc0ab2650641f4c7a19cc49ecd.tar.bz2 linux-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