Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • I ipipe-x86
  • Project information
    • Project information
    • Activity
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • xenomai
  • ipipe-x86
  • Repository

Switch branch/tag
  • ipipe-x86
  • drivers
  • net
  • ethernet
  • stmicro
  • stmmac
  • stmmac_ethtool.c
Find file BlameHistoryPermalink
  • Wilfried Klaebe's avatar
    net: get rid of SET_ETHTOOL_OPS · 7ad24ea4
    Wilfried Klaebe authored May 11, 2014
    
    
    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: default avatarDave Miller <davem@davemloft.net>
    Signed-off-by: default avatarWilfried Klaebe <w-lkml@lebenslange-mailadresse.de>
    Acked-by: default avatarFelipe Balbi <balbi@ti.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    7ad24ea4

Replace stmmac_ethtool.c

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.

Imprint & Privacy Policy