mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
drm/amdgpu: remove redundant NULL check in amdgpu_cs_vm_handling
bo_va is assigned from fpriv->csa_va, which is already verified to be non-NULL by the surrounding if statement. The inner NULL check can therefore never trigger and is dead code, so remove it. Signed-off-by: Jiangshan Yi <yijiangshan@kylinos.cn> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
89deab1c9c
commit
a5b30640a0
1 changed files with 0 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue