amdgpu/dc: don't memset after kzalloc.
authorDave Airlie <airlied@redhat.com>
Tue, 3 Oct 2017 02:37:33 +0000 (12:37 +1000)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 6 Oct 2017 16:59:20 +0000 (12:59 -0400)
commit4ee67c71b89948289eb5c55f1a19281be61178e5
tree790655626bfbed79a6f9d7cb88c5ce5c514c52ce
parent48aa3ddfd535a8e80b1b46da8a13920d9de8e5c5
amdgpu/dc: don't memset after kzalloc.

We allocate this struct zeroed, so don't need to memset in the
constructor.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_surface.c