drm/amd/powerplay: Delete a redundant memory setting in vega20_set_default_od8_settti...
authorMarkus Elfring <elfring@users.sourceforge.net>
Mon, 17 Jun 2019 12:24:14 +0000 (14:24 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 17 Jun 2019 16:02:03 +0000 (11:02 -0500)
commitb9341521700dddea0c5d80d904c2c2f4d100323f
tree712aa4e254dcc1323015860c30472968589141ee
parent4fe7d1a8a4c4dd289ec30d02f4bad9054674ec6c
drm/amd/powerplay: Delete a redundant memory setting in vega20_set_default_od8_setttings()

The memory was set to zero already by a call of the function “kzalloc”.
Thus remove an extra call of the function “memset” for this purpose.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/vega20_ppt.c