]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/amdkfd: remove memset before memcpy
authorHimanshu Jha <himanshujha199640@gmail.com>
Tue, 29 Aug 2017 19:03:35 +0000 (00:33 +0530)
committerOded Gabbay <oded.gabbay@gmail.com>
Tue, 29 Aug 2017 19:03:35 +0000 (00:33 +0530)
commit50dad5fb59d12dc9a5a0e96073ee1e5857ac45a2
tree1b43a48eb741a975a24f7d49a96dc75b1561bfb9
parent472b46c352c9ff0b6fa57dbf85d77c51901a3368
drm/amdkfd: remove memset before memcpy

calling memcpy immediately after memset with the same region of memory
makes memset redundant.

Signed-off-by: Himanshu Jha <himanshujha199640@gmail.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c