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)
commit3119e7f43be172779019f282aed115b2ec0864fa
tree302c13e3e5fda9f964c7a059f09f9c0b521f7378
parent04ed8459f3348f95c119569338e39294a8e02349
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