Tag: 7ad24ea4bf620a32631d7b3069c3e30c078b0c3e

net: get rid of SET_ETHTOOL_OPS

Author: Wilfried Klaebe <w-lkml@lebenslange-mailadresse.de> net: get rid of SET_ETHTOOL_OPS Dave Miller mentioned he’d like to see SET_ETHTOOL_OPS gone. This does that. Mostly done via coccinelle script: @@ struct ethtool_ops *ops; struct net_device *dev; @@ – SET_ETHTOOL_OPS(dev, ops); + dev->ethtool_ops = ops; Compile tested only, but I’d seriously wonder if this broke anything. Suggested-by: Dave Miller …

Continue reading