diff options
author | Bernard Zhao <[email protected]> | 2020-04-26 06:12:44 -0700 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2020-04-30 16:48:42 -0400 |
commit | 981d4f7d2c0dc5bc7d42e7f4afee1e6ded5a9cb3 (patch) | |
tree | a398eff1c7a5b0a543ac236bdeca1121e3a9c7a3 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
parent | 439657970c1d2ee313a9deee296230e7d6cbd3b0 (diff) |
drm/radeon: cleanup coding style a bit
Maybe no need to check ws before kmalloc, kmalloc will check
itself, kmalloc`s logic is if ptr is NULL, kmalloc will just
return
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Bernard Zhao <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions