We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a87cb3e commit 4f03980Copy full SHA for 4f03980
drivers/infiniband/hw/usnic/usnic_ib_verbs.c
@@ -269,7 +269,6 @@ int usnic_ib_query_device(struct ib_device *ibdev,
269
struct usnic_ib_dev *us_ibdev = to_usdev(ibdev);
270
union ib_gid gid;
271
struct ethtool_drvinfo info;
272
- struct ethtool_cmd cmd;
273
int qp_per_vf;
274
275
usnic_dbg("\n");
@@ -278,7 +277,6 @@ int usnic_ib_query_device(struct ib_device *ibdev,
278
277
279
mutex_lock(&us_ibdev->usdev_lock);
280
us_ibdev->netdev->ethtool_ops->get_drvinfo(us_ibdev->netdev, &info);
281
- us_ibdev->netdev->ethtool_ops->get_settings(us_ibdev->netdev, &cmd);
282
memset(props, 0, sizeof(*props));
283
usnic_mac_ip_to_gid(us_ibdev->ufdev->mac, us_ibdev->ufdev->inaddr,
284
&gid.raw[0]);
0 commit comments