From: John W. Linville Date: Wed, 7 Oct 2009 14:49:33 +0000 (-0400) Subject: net/wireless/ethtool.h: drop unnecessary include of linux/ethtool.h X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a82ac21efcefabb4879eb5b4e7a2c7a142026bdb;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 --- diff --git a/net/wireless/ethtool.h b/net/wireless/ethtool.h index 70cbee1bc62e..695ecad20bd6 100644 --- a/net/wireless/ethtool.h +++ b/net/wireless/ethtool.h @@ -1,8 +1,6 @@ #ifndef __CFG80211_ETHTOOL__ #define __CFG80211_ETHTOOL__ -#include - extern const struct ethtool_ops cfg80211_ethtool_ops; #endif /* __CFG80211_ETHTOOL__ */