summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband
diff options
context:
space:
mode:
authorDavid Decotigny <decot@googlers.com>2016-02-24 19:57:58 +0100
committerDavid S. Miller <davem@davemloft.net>2016-02-26 04:06:45 +0100
commit48133335d7e0a661f40a5899d20945dabb600f0a (patch)
tree954d515f8a0ffa4f19ad1b31a804053a160d4d10 /drivers/infiniband
parentnet: usnic: remove unused call to ethtool_ops::get_settings (diff)
downloadlinux-48133335d7e0a661f40a5899d20945dabb600f0a.tar.xz
linux-48133335d7e0a661f40a5899d20945dabb600f0a.zip
net: usnic: use __ethtool_get_settings
Signed-off-by: David Decotigny <decot@googlers.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r--drivers/infiniband/hw/usnic/usnic_ib_verbs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/usnic/usnic_ib_verbs.c b/drivers/infiniband/hw/usnic/usnic_ib_verbs.c
index ea003ec393d5..1cf19a31f57b 100644
--- a/drivers/infiniband/hw/usnic/usnic_ib_verbs.c
+++ b/drivers/infiniband/hw/usnic/usnic_ib_verbs.c
@@ -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;