]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon: cleanup coding style a bit
authorBernard Zhao <bernard@vivo.com>
Sun, 26 Apr 2020 13:12:44 +0000 (06:12 -0700)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Apr 2020 20:48:42 +0000 (16:48 -0400)
commit08b15757eb78f121aab267ee4ce6290882b12832
treea398eff1c7a5b0a543ac236bdeca1121e3a9c7a3
parent13dfd96c9cc84c867ece861ddfe88f9463e6ad07
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 <christian.koenig@amd.com>
Signed-off-by: Bernard Zhao <bernard@vivo.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/atom.c