]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: remove unnecessary cast and use kcalloc instead of kzalloc
authorColin Ian King <colin.king@canonical.com>
Wed, 15 Nov 2017 15:45:09 +0000 (15:45 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Dec 2017 17:47:55 +0000 (12:47 -0500)
commit93a2b2c0a1520d22fa8d313bafe6995fe255b4b3
tree42cdd8ac05e655d226d7d9e39368fb5923683e4e
parent11973d240409c71a1d868def3a86b750897b6c20
drm/amd/display: remove unnecessary cast and use kcalloc instead of kzalloc

Use kcalloc instead of kzalloc and the cast on the return from kzalloc is
unnecessary and can be removed.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/basics/logger.c