aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/linux-yocto-4.14.71/5645-drm-amdkfd-Remove-unused-variable.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/5645-drm-amdkfd-Remove-unused-variable.patch')
-rw-r--r--common/recipes-kernel/linux/linux-yocto-4.14.71/5645-drm-amdkfd-Remove-unused-variable.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/5645-drm-amdkfd-Remove-unused-variable.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/5645-drm-amdkfd-Remove-unused-variable.patch
new file mode 100644
index 00000000..eb70f30a
--- /dev/null
+++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/5645-drm-amdkfd-Remove-unused-variable.patch
@@ -0,0 +1,26 @@
+From fe0d76fccda51e2977add5dd9699b6943d7141b2 Mon Sep 17 00:00:00 2001
+From: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
+Date: Mon, 9 Apr 2018 16:37:04 -0400
+Subject: [PATCH 5645/5725] drm/amdkfd: Remove unused variable
+
+Change-Id: Ic3d7beda97308b09b8765ce1dc69970814943dfe
+Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
+---
+ drivers/gpu/drm/amd/amdkfd/kfd_chardev.c | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c b/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
+index 1bdbb36..548775e 100644
+--- a/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
++++ b/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
+@@ -2172,7 +2172,6 @@ static int kfd_copy_single_range(struct cma_iter *si, struct cma_iter *di,
+
+ while (size && !kfd_cma_iter_end(di)) {
+ struct dma_fence *fence = NULL;
+- struct kfd_bo *dst_bo = di->cur_bo;
+
+ copy_size = min(size, (di->array->size - di->offset));
+
+--
+2.7.4
+