diff options
| author | 2021-07-28 10:33:47 +0300 | |
|---|---|---|
| committer | 2021-07-28 10:23:45 +0100 | |
| commit | d7907a2b1a3b89bea136025f885035a083525e41 (patch) | |
| tree | 332d87f6016e62b5a3b051082767a026483999c1 /include/linux/debugobjects.h | |
| parent | net/mlx5: Don't rely on always true registered field (diff) | |
devlink: Remove duplicated registration check
Both registered flag and devlink pointer are set at the same time
and indicate the same thing - devlink/devlink_port are ready. Instead
of checking ->registered use devlink pointer as an indication.
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
