diff options
| author | Amitoj Kaur Chawla <[email protected]> | 2016-01-25 17:33:57 +0000 |
|---|---|---|
| committer | Oded Gabbay <[email protected]> | 2016-01-28 12:40:11 +0000 |
| commit | 642f0f2a1563b5ab6f5de896f602177ac1f06652 (patch) | |
| tree | ac6492549968c9b40013d5fab69023618e70256a /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | drm/amdgpu: fix non-ANSI declaration of amdgpu_amdkfd_gfx_*_get_functions() (diff) | |
| download | kernel-642f0f2a1563b5ab6f5de896f602177ac1f06652.tar.gz kernel-642f0f2a1563b5ab6f5de896f602177ac1f06652.zip | |
drm/amdkfd: Remove unnecessary cast in kfree
Remove an unnecassary cast in the argument to kfree.
Found using Coccinelle. The semantic patch used to find this is as follows:
//<smpl>
@@
type T;
expression *f;
@@
- kfree((T *)(f));
+ kfree(f);
//</smpl>
Signed-off-by: Amitoj Kaur Chawla <[email protected]>
Signed-off-by: Oded Gabbay <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions
