Skip to content

Commit

Permalink
net: usnic: use __ethtool_get_settings
Browse files Browse the repository at this point in the history
Signed-off-by: David Decotigny <decot@googlers.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David Decotigny authored and David S. Miller committed Feb 26, 2016
1 parent 4f03980 commit 4813333
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/infiniband/hw/usnic/usnic_ib_verbs.c
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ int usnic_ib_query_port(struct ib_device *ibdev, u8 port,
usnic_dbg("\n");

mutex_lock(&us_ibdev->usdev_lock);
us_ibdev->netdev->ethtool_ops->get_settings(us_ibdev->netdev, &cmd);
__ethtool_get_settings(us_ibdev->netdev, &cmd);
memset(props, 0, sizeof(*props));

props->lid = 0;
Expand Down

0 comments on commit 4813333

Please sign in to comment.