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/call-graph-from-postgresql.py | |
parent | 7bb0dffd0516b07cf23fe5121a0b1d4f55566cf6 (diff) |
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/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions