net: get rid of SET_ETHTOOL_OPS
[deliverable/linux.git] / drivers / infiniband / ulp / ipoib / ipoib_ethtool.c
index c4b3940845e60570fcbc5e5d0fa5ef807551d45e..078cadd6c797afeb0e22267fb76e5362a4b97326 100644 (file)
@@ -105,5 +105,5 @@ static const struct ethtool_ops ipoib_ethtool_ops = {
 
 void ipoib_set_ethtool_ops(struct net_device *dev)
 {
-       SET_ETHTOOL_OPS(dev, &ipoib_ethtool_ops);
+       dev->ethtool_ops = &ipoib_ethtool_ops;
 }
This page took 0.024783 seconds and 5 git commands to generate.