diff options
| author | Gargi Sharma <[email protected]> | 2017-03-09 00:15:49 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-03-09 18:18:20 +0100 |
| commit | 4db665e50ccc75ee64eb3ccdf53850956a83cbb6 (patch) | |
| tree | d1fba7b1f7a4aebd24d5e3ff7fd6fae98a146cd4 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 1f9f72f46aaa33f2935c6e31a5a91e75b4908ff6 (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 <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions