Bläddra i källkod

net/wireless/ethtool.h: drop unnecessary include of linux/ethtool.h

Everything including this header includes net/cfg80211.h, which
includes linux/netdevice.h, which includes linux/ethtool.h already.  Why
slow-down the build, even a little bit?

Signed-off-by: John W. Linville <linville@tuxdriver.com>
John W. Linville 15 år sedan
förälder
incheckning
a82ac21efc
1 ändrade filer med 0 tillägg och 2 borttagningar
  1. 0 2
      net/wireless/ethtool.h

+ 0 - 2
net/wireless/ethtool.h

@@ -1,8 +1,6 @@
 #ifndef __CFG80211_ETHTOOL__
 #define __CFG80211_ETHTOOL__
 
-#include <linux/ethtool.h>
-
 extern const struct ethtool_ops cfg80211_ethtool_ops;
 
 #endif /* __CFG80211_ETHTOOL__ */