diff options
| author | Srishti Sharma <srishtishar@gmail.com> | 2017-10-08 02:03:24 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-10-18 16:04:29 +0200 |
| commit | 512bbd7bbf22be778ee4b78a75a40e0e4c1a6d71 (patch) | |
| tree | ae5ba628a1e961feb67b20183e16eafa912356d6 /tools/perf/scripts/python | |
| parent | staging: fbtft: differentiate between buffer and data types to fix sparse war... (diff) | |
| download | linux-512bbd7bbf22be778ee4b78a75a40e0e4c1a6d71.tar.gz linux-512bbd7bbf22be778ee4b78a75a40e0e4c1a6d71.zip | |
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 <srishtishar@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
