diff options
| author | Amitoj Kaur Chawla <amitoj1606@gmail.com> | 2017-06-14 18:33:03 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-06-23 19:36:49 +0200 |
| commit | 428715bac69b98253e33c0034c829114481d5b32 (patch) | |
| tree | c94835fbad65e7a598beaa4389e89bbfc8eca051 /tools/perf/scripts/python/bin | |
| parent | staging: rtl8723bs: hal: Use (true/false) in assignment to bool (diff) | |
| download | linux-428715bac69b98253e33c0034c829114481d5b32.tar.gz linux-428715bac69b98253e33c0034c829114481d5b32.zip | |
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 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
