Skip to content

Commit

Permalink
net/wireless/ethtool.h: drop unnecessary include of linux/ethtool.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
John W. Linville committed Oct 7, 2009
1 parent cf32ed9 commit a82ac21
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions net/wireless/ethtool.h
Original file line number Diff line number Diff line change
@@ -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__ */

0 comments on commit a82ac21

Please sign in to comment.