projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a87cb3e
)
net: usnic: remove unused call to ethtool_ops::get_settings
author
David Decotigny
<
[email protected]
>
Wed, 24 Feb 2016 18:57:57 +0000
(10:57 -0800)
committer
David S. Miller
<
[email protected]
>
Fri, 26 Feb 2016 03:06:45 +0000
(22:06 -0500)
Signed-off-by: David Decotigny <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/infiniband/hw/usnic/usnic_ib_verbs.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/hw/usnic/usnic_ib_verbs.c
b/drivers/infiniband/hw/usnic/usnic_ib_verbs.c
index 6cdb4d23f78f99c0282be7d202083f5aa63091e7..ea003ec393d5e4e6c3a050d935dd566cd212db96 100644
(file)
--- a/
drivers/infiniband/hw/usnic/usnic_ib_verbs.c
+++ b/
drivers/infiniband/hw/usnic/usnic_ib_verbs.c
@@
-269,7
+269,6
@@
int usnic_ib_query_device(struct ib_device *ibdev,
struct usnic_ib_dev *us_ibdev = to_usdev(ibdev);
union ib_gid gid;
struct ethtool_drvinfo info;
- struct ethtool_cmd cmd;
int qp_per_vf;
usnic_dbg("\n");
@@
-278,7
+277,6
@@
int usnic_ib_query_device(struct ib_device *ibdev,
mutex_lock(&us_ibdev->usdev_lock);
us_ibdev->netdev->ethtool_ops->get_drvinfo(us_ibdev->netdev, &info);
- us_ibdev->netdev->ethtool_ops->get_settings(us_ibdev->netdev, &cmd);
memset(props, 0, sizeof(*props));
usnic_mac_ip_to_gid(us_ibdev->ufdev->mac, us_ibdev->ufdev->inaddr,
&gid.raw[0]);