Parav Pandit 4367ec7fe2 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>
2017-12-18 15:37:07 -07:00
..
2015-06-12 14:49:18 -04:00
2015-05-05 13:21:27 -04:00
2017-12-18 15:37:06 -07:00
2017-12-18 15:37:07 -07:00
2016-01-19 15:25:45 -05:00
2017-11-15 14:54:53 -08:00
2016-05-13 13:37:18 -04:00
2016-03-03 10:20:25 -05:00
2017-08-31 08:35:09 -04:00
2016-03-03 10:20:25 -05:00
2017-12-18 15:37:06 -07:00
2017-12-11 16:19:43 -07:00