Skip to content

Commit 4813333

Browse files
David Decotignydavem330
David Decotigny
authored andcommitted
net: usnic: use __ethtool_get_settings
Signed-off-by: David Decotigny <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 4f03980 commit 4813333

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/infiniband/hw/usnic/usnic_ib_verbs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ int usnic_ib_query_port(struct ib_device *ibdev, u8 port,
329329
usnic_dbg("\n");
330330

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

335335
props->lid = 0;

0 commit comments

Comments
 (0)