summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorParav Pandit <parav@mellanox.com>2018-09-05 12:54:17 +0300
committerJason Gunthorpe <jgg@mellanox.com>2018-09-12 15:48:08 -0600
commitf89b7dfa33537bba9ee082a17a55242fc727e9f4 (patch)
tree7581b01d7685d86af6275142faba762d8c33be2d /tools/perf/scripts/python/bin
parentcaf1e3ae9fa648d6dd38468736868d6867cab273 (diff)
downloadlinux-f89b7dfa33537bba9ee082a17a55242fc727e9f4.tar.gz
linux-f89b7dfa33537bba9ee082a17a55242fc727e9f4.zip
RDMA/core: Avoid unnecessary sa_family overwrite
addr4_resolve() and addr6_resolve() are called by checking the value of sa_family. Both above functions overwrite the value after typecasting, this is not necessary. Signed-off-by: Parav Pandit <parav@mellanox.com> Reviewed-by: Daniel Jurgens <danielj@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions