summaryrefslogtreecommitdiff
path: root/net/core
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@nvidia.com>2021-07-28 10:33:46 +0300
committerDavid S. Miller <davem@davemloft.net>2021-07-28 10:23:45 +0100
commit35f6986743d78544779a892415c2edefa1f36a1c (patch)
tree9253a1d3ae22fb1f893f06bc0eedfd98c86fd0f9 /net/core
parentacf34954efd17d4f65c7bb3e614381e6afc33222 (diff)
downloadlinux-35f6986743d78544779a892415c2edefa1f36a1c.tar.gz
linux-35f6986743d78544779a892415c2edefa1f36a1c.tar.bz2
linux-35f6986743d78544779a892415c2edefa1f36a1c.zip
net/mlx5: Don't rely on always true registered field
Devlink is an integral part of mlx5 driver and all flows ensure that devlink_*_register() will success. That makes the ->registered check an obsolete. Signed-off-by: Leon Romanovsky <leonro@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions