IB/mlx5: Remove duplicate code from mlx5_set_path
authorEli Cohen <eli@dev.mellanox.co.il>
Sun, 14 Sep 2014 13:47:54 +0000 (16:47 +0300)
committerRoland Dreier <roland@purestorage.com>
Thu, 9 Oct 2014 07:08:40 +0000 (00:08 -0700)
commitf83b42636a91e63f330ea90996646b4a885aca74
tree543aa8c384b39a0f35a58e515dcd19dbda777e4d
parent1c3ce90d0acb0c661910dd84f416b3053e9710af
IB/mlx5: Remove duplicate code from mlx5_set_path

Some of the fields were set twice. Re-organize to avoid that.

Signed-off-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/mlx5/qp.c