summaryrefslogtreecommitdiffstats
path: root/include/net/netevent.h
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2007-11-13 21:34:34 -0800
committerDavid S. Miller <davem@davemloft.net>2008-01-28 14:53:38 -0800
commit274b3426db25b8d63cbf25475e728ce1ee6caebd (patch)
tree8640ea0499618f6490bbe76896c955b9b4cbacd2 /include/net/netevent.h
parent352e512c32b634768303a43768245a0363cebbe7 (diff)
downloadkernel-crypto-274b3426db25b8d63cbf25475e728ce1ee6caebd.tar.gz
kernel-crypto-274b3426db25b8d63cbf25475e728ce1ee6caebd.tar.xz
kernel-crypto-274b3426db25b8d63cbf25475e728ce1ee6caebd.zip
[NET]: Remove unnecessary inclusion of dst.h
The file net/netevent.h only refers to struct dst_entry * so it doesn't need to include dst.h. I've replaced it with a forward declaration. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/netevent.h')
-rw-r--r--include/net/netevent.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/netevent.h b/include/net/netevent.h
index e5d21624142..e82b7bab3ff 100644
--- a/include/net/netevent.h
+++ b/include/net/netevent.h
@@ -12,7 +12,7 @@
*/
#ifdef __KERNEL__
-#include <net/dst.h>
+struct dst_entry;
struct netevent_redirect {
struct dst_entry *old;