diff options
| author | Amitoj Kaur Chawla <amitoj1606@gmail.com> | 2017-06-15 01:33:03 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-06-23 20:36:49 +0300 |
| commit | 428715bac69b98253e33c0034c829114481d5b32 (patch) | |
| tree | c94835fbad65e7a598beaa4389e89bbfc8eca051 /include/linux/debugobjects.h | |
| parent | 7bb0dffd0516b07cf23fe5121a0b1d4f55566cf6 (diff) | |
| download | linux-428715bac69b98253e33c0034c829114481d5b32.tar.xz | |
staging: rtl8723bs: Remove unnecessary cast in kfree
Remove unnecassary casts 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
