diff options
| author | Philip Yang <[email protected]> | 2018-08-29 14:53:23 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2018-08-29 17:36:06 +0000 |
| commit | dcaaff4eed13c4dcc15525ff87269b3f4544345a (patch) | |
| tree | 708808edda144f006c3255acbf5594351b11ba4c /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | drm/ttm: Initialize local lists in ttm_bo_bulk_move_helper (diff) | |
| download | kernel-dcaaff4eed13c4dcc15525ff87269b3f4544345a.tar.gz kernel-dcaaff4eed13c4dcc15525ff87269b3f4544345a.zip | |
drm/amdgpu: remove redundant memset
kvmalloc_array uses __GFP_ZERO flag ensures that the returned address
is zeroed already, memset it to zero again afterwards is unnecessary,
and in this case buggy because we only clear the first entry.
Signed-off-by: Philip Yang <[email protected]>
Reviewed-by: Christian König <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions
