diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2007-11-13 21:34:34 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 14:53:38 -0800 |
commit | 274b3426db25b8d63cbf25475e728ce1ee6caebd (patch) | |
tree | 8640ea0499618f6490bbe76896c955b9b4cbacd2 /include/net | |
parent | 352e512c32b634768303a43768245a0363cebbe7 (diff) | |
download | op-kernel-dev-274b3426db25b8d63cbf25475e728ce1ee6caebd.zip op-kernel-dev-274b3426db25b8d63cbf25475e728ce1ee6caebd.tar.gz |
[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')
-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 e5d2162..e82b7ba 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; |