diff options
author | Amitoj Kaur Chawla <[email protected]> | 2016-01-27 00:12:23 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2016-02-03 13:48:12 -0800 |
commit | e6533e879fd24f36c50a9db3b41d3433784222ff (patch) | |
tree | 1dade7630377f19a23d32e27963ddee000d1eb27 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | d078c6e4ea5e6a93d44d5815d0ee4a9bb5c5718b (diff) |
usb: storage: ene_ub6250: 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 <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions