diff options
| author | Amitoj Kaur Chawla <[email protected]> | 2016-01-26 16:39:14 -0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2016-02-10 09:29:02 -0200 |
| commit | b292394d4f1909ecad42150bf8782c3000d101b7 (patch) | |
| tree | e9e162980e4ebdb2a555ce9c576becc9294c7f69 /tools/perf/scripts/python | |
| parent | e295b3d603fb02aaf602e5edc846647688df8301 (diff) | |
[media] media: platform: vivid: vivid-osd: Remove unnecessary cast to kfree
Remove an unnecassary cast 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: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions