summaryrefslogtreecommitdiffstats
path: root/include/net/devlink.h
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@nvidia.com>2021-08-14 12:57:27 +0300
committerDavid S. Miller <davem@davemloft.net>2021-08-14 13:59:10 +0100
commit7ca973dc9fe589dc0ab2650641f4c7a19cc49ecd (patch)
tree19684b13152c49475f323ebfd210d2351332722e /include/net/devlink.h
parentcbf6ab672eb425ac1cd7f8c7c4066f3bb0a78e50 (diff)
downloadlinux-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