drm/amdgpu: minor cleanup in amdgpu_job.c
authorChristian König <christian.koenig@amd.com>
Fri, 13 Jul 2018 12:01:08 +0000 (14:01 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 17 Jul 2018 19:18:28 +0000 (14:18 -0500)
commitf024e88343f712941f250f53ddb2652538ea7e95
treee4aff10141d66c35634d10afd6e7c7251002654c
parenta1917b73d89e88a6ecdd076b9d6618682f1b0d08
drm/amdgpu: minor cleanup in amdgpu_job.c

Remove superflous NULL check, fix coding style a bit, shorten error
messages.

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