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>
This commit is contained in:
Eli Cohen 2014-09-14 16:47:54 +03:00 • committed by Roland Dreier
commit f83b42636a