projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ec7120
)
drm/amdkfd: remove unused code
author
James Zhu
<James.Zhu@amd.com>
Wed, 28 May 2025 15:51:18 +0000
(11:51 -0400)
committer
Alex Deucher
<alexander.deucher@amd.com>
Wed, 6 Aug 2025 18:19:01 +0000
(14:19 -0400)
upages is assigned under cpages = 0, so it isn't really used in this function.
Signed-off-by: James Zhu <James.Zhu@amd.com>
Reviewed-by: Philip.Yang<Philip.Yang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_migrate.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdkfd/kfd_migrate.c
b/drivers/gpu/drm/amd/amdkfd/kfd_migrate.c
index
79251f2
..
f0b690d
100644
(file)
--- a/
drivers/gpu/drm/amd/amdkfd/kfd_migrate.c
+++ b/
drivers/gpu/drm/amd/amdkfd/kfd_migrate.c
@@
-736,7
+736,6
@@
svm_migrate_vma_to_ram(struct kfd_node *node, struct svm_range *prange,
if (!cpages) {
pr_debug("failed collect migrate device pages [0x%lx 0x%lx]\n",
prange->start, prange->last);
- upages = svm_migrate_unsuccessful_pages(&migrate);
goto out_free;
}
if (cpages != npages)