diff options
| author | Srishti Sharma <[email protected]> | 2017-10-08 02:03:24 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-10-18 16:04:29 +0200 |
| commit | 512bbd7bbf22be778ee4b78a75a40e0e4c1a6d71 (patch) | |
| tree | ae5ba628a1e961feb67b20183e16eafa912356d6 /tools/perf/scripts/python | |
| parent | 8d8825b420ffb370b0a57ba764828efd08738ba0 (diff) | |
Staging: rtl8723bs: core: rtw_cmd: Remove cast to pointer types in kfree
The cast to pointer types in kfree is not needed and can be dropped.
This was done using the following semantic patch by coccinelle,
except kfree((unsigned char*) pcmd->parmbuf) which was transformed by
hand because coccinelle didn't have enough type information.
@r@
type T,P;
T* x;
@@
kfree(
-(P *)
x )
Signed-off-by: Srishti Sharma <[email protected]>
Acked-by: Julia Lawall <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions