diff options
Diffstat (limited to 'common/recipes-kernel/linux/files/0115-drm-amdkfd-Remove-unessary-void-pointer-cast.patch')
-rw-r--r-- | common/recipes-kernel/linux/files/0115-drm-amdkfd-Remove-unessary-void-pointer-cast.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/common/recipes-kernel/linux/files/0115-drm-amdkfd-Remove-unessary-void-pointer-cast.patch b/common/recipes-kernel/linux/files/0115-drm-amdkfd-Remove-unessary-void-pointer-cast.patch deleted file mode 100644 index b8e96976..00000000 --- a/common/recipes-kernel/linux/files/0115-drm-amdkfd-Remove-unessary-void-pointer-cast.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 1549fcd15cab5e59beb7203583e0a70349dda7c1 Mon Sep 17 00:00:00 2001 -From: Firo Yang <firogm@gmail.com> -Date: Thu, 23 Apr 2015 17:58:05 +0800 -Subject: [PATCH 0115/1050] drm/amdkfd: Remove unessary void pointer cast - -kmalloc() returns a void pointer - no need to cast it in -drivers/gpu/drm/amd/amdkfd/kfd_process.c::kfd_process_destroy_delayed() - -Signed-off-by: Firo Yang <firogm@gmail.com> -Signed-off-by: Oded Gabbay <oded.gabbay@amd.com> ---- - drivers/gpu/drm/amd/amdkfd/kfd_process.c | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_process.c b/drivers/gpu/drm/amd/amdkfd/kfd_process.c -index 945d622..4d7bc95 100644 ---- a/drivers/gpu/drm/amd/amdkfd/kfd_process.c -+++ b/drivers/gpu/drm/amd/amdkfd/kfd_process.c -@@ -203,8 +203,7 @@ static void kfd_process_destroy_delayed(struct rcu_head *rcu) - - mmdrop(p->mm); - -- work = (struct kfd_process_release_work *) -- kmalloc(sizeof(struct kfd_process_release_work), GFP_ATOMIC); -+ work = kmalloc(sizeof(struct kfd_process_release_work), GFP_ATOMIC); - - if (work) { - INIT_WORK((struct work_struct *) work, kfd_process_wq_release); --- -1.9.1 - |