summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorParav Pandit <parav@mellanox.com>2017-11-14 14:52:01 +0200
committerJason Gunthorpe <jgg@mellanox.com>2017-12-18 15:37:07 -0700
commit4367ec7fe2dd6f049f8bb558c86d54b438186729 (patch)
tree59846adea8074a5cdc6f8b12f603a454e1df9e76 /tools/perf/scripts/python/netdev-times.py
parent5c181bda77f409d89ad513528eccac5f3a416474 (diff)
downloadlinux-4367ec7fe2dd6f049f8bb558c86d54b438186729.tar.gz
linux-4367ec7fe2dd6f049f8bb558c86d54b438186729.zip
RDMA/cma: Simplify netdev check
Current code checks for NULL ndev twice where 2nd check is always invalid given the fact that during route resolving stage, device address must be bound to netdevice interface. This patch simplifies such check. Signed-off-by: Parav Pandit <parav@mellanox.com> Reviewed-by: Daniel Jurgens <danielj@mellanox.com> Signed-off-by: Leon Romanovsky <leon@kernel.org> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions