diff options
| author | 2017-03-09 00:15:49 +0530 | |
|---|---|---|
| committer | 2017-03-09 18:18:20 +0100 | |
| commit | 4db665e50ccc75ee64eb3ccdf53850956a83cbb6 (patch) | |
| tree | d1fba7b1f7a4aebd24d5e3ff7fd6fae98a146cd4 /tools/perf/scripts/python/stackcollapse.py | |
| parent | staging: cxd2099: Remove redundant code (diff) | |
staging: rtl8192e: Remove useless type conversion
Some type conversions like casting a pointer/non-pointer to a pointer of same type,
casting to the original type using addressof(&) operator, etc. are not needed.
Therefore, remove them. Done using coccinelle:
@@
type t;
t *p;
t a;
@@
(
- (t)(a)
+ a
|
- (t *)(p)
+ p
|
- (t *)(&a)
+ &a
)
Signed-off-by: Gargi Sharma <gs051095@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
