diff options
| author | Gustavo A. R. Silva <[email protected]> | 2017-07-09 00:43:37 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-07-16 08:40:57 +0200 |
| commit | 60ba7c7c26b8df3688a952cf4bcfbc8dcdafdb9b (patch) | |
| tree | df29908372c5f77b3c3dacfd20e89779fd284b42 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | f7d0879f10080d52b1af383f049b880c78e4fa82 (diff) | |
staging: ccree: remove unnecessary cast on kmalloc
The assignment operator implicitly converts a void pointer to the type of the
pointer it is assigned to.
This issue was detected using Coccinelle and the following semantic patch:
@@
expression * e;
expression arg1, arg2;
type T;
@@
- e=(T*)
+ e=
kmalloc(arg1, arg2);
Signed-off-by: Gustavo A. R. Silva <[email protected]>
Acked-by: Gilad Ben-Yossef <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions