]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/amdgpu: remove not needed memset
authorzhengbin <zhengbin13@huawei.com>
Mon, 18 Nov 2019 09:00:31 +0000 (17:00 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Nov 2019 15:12:54 +0000 (10:12 -0500)
commit16641949257a5644a0f9f2d2f454663c9a37841e
treee9d41764ea74be1435f62aff1f7a8e830b175390
parentb992691d453c1cb16390d21c9f557196d3ab3141
drm/amdgpu: remove not needed memset

Fixes coccicheck warning:

drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c:64:13-31: WARNING: dma_alloc_coherent use in ih -> ring already zeroes out memory,  so memset is not needed

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c