aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorWeihang Li <liweihang@huawei.com>2020-05-22 21:02:56 +0800
committerJason Gunthorpe <jgg@mellanox.com>2020-05-25 14:20:45 -0300
commit14ba87304bf98a0a0c069708bb14e92a616420d1 (patch)
tree572a36c949eb64143e132799248370abe2ca9a87 /tools/perf/scripts/python/export-to-postgresql.py
parentRDMA/hns: Optimize the usage of MTR (diff)
downloadlinux-14ba87304bf98a0a0c069708bb14e92a616420d1.tar.gz
linux-14ba87304bf98a0a0c069708bb14e92a616420d1.zip
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/1590152579-32364-2-git-send-email-liweihang@huawei.com Signed-off-by: Weihang Li <liweihang@huawei.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions