net: get rid of SET_ETHTOOL_OPS
[deliverable/linux.git] / drivers / net / vxlan.c
index 1dfee9a7fbf7854179ba1bac9fd5bc265fd31b31..e68c8eb4ea8e297ad3c3b146a194a8ac84e4b1c6 100644 (file)
@@ -2716,7 +2716,7 @@ static int vxlan_newlink(struct net *net, struct net_device *dev,
                return -EEXIST;
        }
 
-       SET_ETHTOOL_OPS(dev, &vxlan_ethtool_ops);
+       dev->ethtool_ops = &vxlan_ethtool_ops;
 
        /* create an fdb entry for a valid default destination */
        if (!vxlan_addr_any(&vxlan->default_dst.remote_ip)) {
This page took 0.048149 seconds and 5 git commands to generate.