]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: remove non-sense NULL ptr check
authorChristian König <christian.koenig@amd.com>
Thu, 10 Jan 2019 15:40:42 +0000 (16:40 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:36:58 +0000 (15:36 -0500)
commit1e4e82928dbc8209d96498aa6484d945125231ed
tree302c13e3e5fda9f964c7a059f09f9c0b521f7378
parent21c2a19461798b096a5443188b1813368a785c89
drm/amdgpu: remove non-sense NULL ptr check

It's a bug having a dead pointer in the IDR, silently returning
is the worst we can do.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c