IPoIB: Remove unnecessary port query
There are two queries for port attributes one after another. A second call is not needed since port_attr structure already holds the data. Reviewed-by: NIra Weiny <ira.weiny@intel.com> Signed-off-by: NAlex Estrin <alex.estrin@intel.com> Signed-off-by: NRoland Dreier <roland@purestorage.com>
Showing
想要评论请 注册 或 登录