diff options
| author | Weihang Li <[email protected]> | 2020-05-22 21:02:56 +0800 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2020-05-25 14:20:45 -0300 |
| commit | 14ba87304bf98a0a0c069708bb14e92a616420d1 (patch) | |
| tree | 572a36c949eb64143e132799248370abe2ca9a87 /tools/perf/scripts/python/flamegraph.py | |
| parent | 8e029d386bcef651bb89091c8a48375c2506aefe (diff) | |
RDMA/hns: Remove redundant type cast for general pointers
There is no need to do a type cast on genernal pointers, they could be
assigned to any type of variables. In addition, optimize initialization of
some variables and adjust order of them.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Weihang Li <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions