]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon: avoid a useless memset
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Mon, 27 Jul 2020 10:34:36 +0000 (12:34 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Jul 2020 20:24:29 +0000 (16:24 -0400)
commitf0feb50142d435f62b0e24e489269af2f0046005
treeac97eeffe67bad56e5faf64453f658761aa619a5
parent04b28b86d281eeeedf4bb6ea18ff8252ac7a9d4b
drm/radeon: avoid a useless memset

Avoid a memset after a call to 'dma_alloc_coherent()'.
This is useless since
commit 178cbc5f6e72 ("dma-mapping: zero memory returned from dma_alloc_*")

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_gart.c