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-Tag: v2.6.33-rc1~388^2~865^2~20 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=a82ac21efcefabb4879eb5b4e7a2c7a142026bdb;p=~emulex%2Finfiniband.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 70cbee1bc62..695ecad20bd 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__ */