diff options
author | Amitoj Kaur Chawla <amitoj1606@gmail.com> | 2016-01-25 23:03:57 +0530 |
---|---|---|
committer | Oded Gabbay <oded.gabbay@gmail.com> | 2016-01-28 14:40:11 +0200 |
commit | 642f0f2a1563b5ab6f5de896f602177ac1f06652 (patch) | |
tree | ac6492549968c9b40013d5fab69023618e70256a /drivers/hid/hid-picolcd_debugfs.c | |
parent | f785d98711925aceb198fb96abd786fd19fad657 (diff) | |
download | linux-642f0f2a1563b5ab6f5de896f602177ac1f06652.tar.bz2 |
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 <amitoj1606@gmail.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'drivers/hid/hid-picolcd_debugfs.c')
0 files changed, 0 insertions, 0 deletions