]> err.no Git - linux-2.6/commitdiff
[NET]: Remove unnecessary inclusion of dst.h
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 14 Nov 2007 05:34:34 +0000 (21:34 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:53:38 +0000 (14:53 -0800)
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>
include/net/netevent.h

index e5d2162414234c383dae1382f3ca75fad2a75ea2..e82b7bab3ff355bfe85bb6a0f8504ff3a4ea54d7 100644 (file)
@@ -12,7 +12,7 @@
  */
 #ifdef __KERNEL__
 
-#include <net/dst.h>
+struct dst_entry;
 
 struct netevent_redirect {
        struct dst_entry *old;