Skip to contentSkip to conversation

drm/amdkfd: remove duplicate include of kfd_svm.h

PATCH In review Wan Jiabing 2 participants 2 messages Jun 5, 2021 – Jun 7, 2021

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

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.

---
 drivers/gpu/drm/amd/amdkfd/kfd_process.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/amd/amdkfd/kfd_process.c +0 -1
index bfa6c4cd2f44..f1f40bba5c60 100644
@@ -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
maintainer Reviewed-by on v1 1/1
#1 lore raw

Am 2021-06-04 um 10:54 p.m. schrieb Wan Jiabing:

Quoted 7 lines

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.

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
index bfa6c4cd2f44..f1f40bba5c60 100644

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