diff options
author | Weiguo Li <liwg06@foxmail.com> | 2022-03-03 00:17:39 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-03-02 18:40:07 -0500 |
commit | 3192f1d9b61a59d7c82fef187bffa7281fbdc9f5 (patch) | |
tree | e034c3791780c16625466aa08e89b93fa1b5b7f1 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
parent | 825e0af0d453f18bb84feb40bff447cf59d61979 (diff) |
drm/amdgpu: remove redundant null check
Remove the redundant null check since the caller ensures
that 'ctx' is never NULL.
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Weiguo Li <liwg06@foxmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions