IB/mlx4: Remove unused variable from function declaration
Subsystems (2)
PATCH 1/1 IB/mlx4: Remove unused variable from function declaration
Remove unused netw_view parameter from eth_link_query_port() function.
Reported-by Shiraz Saleem <[email protected]>
---
Hi Doug,
This patch was generated on top of Or's patch series.
Thanks
--- drivers/infiniband/hw/mlx4/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/infiniband/hw/mlx4/main.c +2 -2
@@ -678,7 +678,7 @@ static u8 state_to_phys_state(enum ib_port_state state) }static int eth_link_query_port (struct ib_device *ibdev,u8 port, -struct ib_port_attr *props,int netw_view) +struct ib_port_attr *props) {struct mlx4_ib_dev *mdev =to_mdev (ibdev);
@@ -745,7 +745,7 @@ int __mlx4_ib_query_port(struct ib_device *ibdev, u8 port, err =mlx4_ib_port_link_layer (ibdev, port) ==IB_LINK_LAYER_INFINIBAND ?ib_link_query_port (ibdev, port, props, netw_view) : -eth_link_query_port (ibdev, port, props, netw_view); +eth_link_query_port (ibdev, port, props);return err; }
--
2.11.0
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Doug Ledford
AppliedQuoted 11 lines · Leon Romanovsky
Remove unused
netw_viewparameter frometh_link_query_port()function.Reported-by Shiraz Saleem <[email protected]>---
Hi Doug,This patch was generated on top of Or's patch series.
Thanks
Thanks, applied.
Signature · 4 lines
Doug Ledford <[email protected]> GPG KeyID: B826A3330E572FDD Key fingerprint = AE6B 1BDA 122B 23B4 265B 1274 B826 A333 0E57 2FDD