net: get rid of SET_ETHTOOL_OPS
[deliverable/linux.git] / drivers / net / ethernet / intel / i40e / i40e_ethtool.c
index 0cf47c958081ad6996c61e55a77be7a45f60609d..f62929419a093110dba114791b73f9b40fb80d0f 100644 (file)
@@ -1700,5 +1700,5 @@ static const struct ethtool_ops i40e_ethtool_ops = {
 
 void i40e_set_ethtool_ops(struct net_device *netdev)
 {
-       SET_ETHTOOL_OPS(netdev, &i40e_ethtool_ops);
+       netdev->ethtool_ops = &i40e_ethtool_ops;
 }
This page took 0.025335 seconds and 5 git commands to generate.