drm/amdgpu: Remove an unnecessary null pointer check in amdgpu_cs_bo_handles_chunk()
Quoted 1 line
kvfree ensure that the null pointer will do nothing.
I suggest to improve the commit message.
Would you like to adjust the patch subject?
Are you looking for further questionable condition checks?
…
Quoted 2 lines
+++
b/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c(quoted diff) +0
-0@@ -98,8 +98,7 @@ static int amdgpu_cs_bo_handles_chunk(struct amdgpu_cs_parser *p,
…
Review
Quoted 4 lines
(quoted diff) +1
-0+ kvfree(info); return r; }
How do you think about to omit a blank line behind the function call at this source code place?
Regards,
Markus