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: v3.12-rc1~12159^2~865^2~20 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a82ac21efcefabb4879eb5b4e7a2c7a142026bdb;p=kernel%2Fkernel-generic.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 70cbee1..695ecad 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__ */