projects
/
platform
/
kernel
/
linux-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf32ed9
)
net/wireless/ethtool.h: drop unnecessary include of linux/ethtool.h
author
John W. Linville
<linville@tuxdriver.com>
Wed, 7 Oct 2009 14:49:33 +0000
(10:49 -0400)
committer
John W. Linville
<linville@tuxdriver.com>
Wed, 7 Oct 2009 20:39:49 +0000
(16:39 -0400)
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>
net/wireless/ethtool.h
patch
|
blob
|
history
diff --git
a/net/wireless/ethtool.h
b/net/wireless/ethtool.h
index 70cbee1bc62e66bbddd1850459bb21d9d171dcea..695ecad20bd67cb79c2413d8c0f83c823c2da330 100644
(file)
--- a/
net/wireless/ethtool.h
+++ b/
net/wireless/ethtool.h
@@
-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__ */