Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

-2
-2
net/wireless/ethtool.h
··· 1 1 #ifndef __CFG80211_ETHTOOL__ 2 2 #define __CFG80211_ETHTOOL__ 3 3 4 - #include <linux/ethtool.h> 5 - 6 4 extern const struct ethtool_ops cfg80211_ethtool_ops; 7 5 8 6 #endif /* __CFG80211_ETHTOOL__ */