Tag: 642f0f2a1563b5ab6f5de896f602177ac1f06652

drm/amdkfd: Remove unnecessary cast in kfree

Author: Amitoj Kaur Chawla <amitoj1606@gmail.com> Remove an unnecassary cast in the argument to kfree. Found using Coccinelle. The semantic patch used to find this is as follows: // @@ type T; expression *f; @@ – kfree((T *)(f)); + kfree(f); // Signed-off-by: Amitoj Kaur Chawla Signed-off-by: Oded Gabbay — drivers/gpu/drm/amd/amdkfd/kfd_process.c | 2 +- 1 file changed, …

Continue reading