drm/amdkfd: remove duplicate include of kfd_svm.h
Subsystems (3)
PATCH 1/1 drm/amdkfd: remove duplicate include of kfd_svm.h
kfd_svm.h is included duplicately in commit 42de677f79999 ("drm/amdkfd: register svm range").
After checking possible related header files,
remove the former one to make the code format more reasonable.
Signed-off-by Wan Jiabing <[email protected]>
--- drivers/gpu/drm/amd/amdkfd/kfd_process.c | 1 - 1 file changed, 1 deletion(-)
drivers/gpu/drm/amd/amdkfd/kfd_process.c +0 -1
@@ -35,7 +35,6 @@#include <linux/pm_runtime.h> #include "amdgpu_amdkfd.h" #include "amdgpu.h" -#include "kfd_svm.h" struct mm_struct ;
Signature · 1 line
2.20.1
Am 2021-06-04 um 10:54 p.m. schrieb Wan Jiabing:
Quoted 7 lines
kfd_svm.his included duplicately in commit42de677f79999("drm/amdkfd: register svm range").After checking possible related header files,
remove the former one to make the code format more reasonable.Signed-off-by Wan Jiabing <[email protected]>
Reviewed-by Felix Kuehling <[email protected]>
I will apply the patch to amd-staging-drm-next. Thanks.
Quoted 9 lines
--- drivers/gpu/drm/amd/amdkfd/kfd_process.c | 1 - 1 file changed, 1 deletion(-)drivers/gpu/drm/amd/amdkfd/kfd_process.c +0
-0
drivers/gpu/drm/amd/amdkfd/kfd_process.c line 40
Quoted 7 lines
drivers/gpu/drm/amd/amdkfd/kfd_process.c +0
-1@@ -35,7 +35,6 @@#include <linux/pm_runtime.h> #include "amdgpu_amdkfd.h" #include "amdgpu.h" -#include "kfd_svm.h" struct mm_struct ;
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx