diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2007-11-14 06:34:34 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 23:53:38 +0100 |
commit | 274b3426db25b8d63cbf25475e728ce1ee6caebd (patch) | |
tree | 8640ea0499618f6490bbe76896c955b9b4cbacd2 /include/net/netevent.h | |
parent | [NET]: Eliminate duplicate copies of dst_discard (diff) | |
download | linux-274b3426db25b8d63cbf25475e728ce1ee6caebd.tar.xz linux-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/netevent.h b/include/net/netevent.h index e5d216241423..e82b7bab3ff3 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; |