]> 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)
commit1734e73badced8647534ca8706c980cf705de611
tree42cdd8ac05e655d226d7d9e39368fb5923683e4e
parent839587b559e26197448f11ea9f6be2e2779f444c
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