summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@nvidia.com>2021-07-28 10:33:47 +0300
committerDavid S. Miller <davem@davemloft.net>2021-07-28 10:23:45 +0100
commitd7907a2b1a3b89bea136025f885035a083525e41 (patch)
tree332d87f6016e62b5a3b051082767a026483999c1 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parent35f6986743d78544779a892415c2edefa1f36a1c (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 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions