From: Herbert Xu Date: Wed, 14 Nov 2007 05:34:34 +0000 (-0800) Subject: [NET]: Remove unnecessary inclusion of dst.h X-Git-Tag: v2.6.25-rc1~1162^2~1457 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=274b3426db25b8d63cbf25475e728ce1ee6caebd;p=linux-2.6 [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 Signed-off-by: David S. Miller --- diff --git a/include/net/netevent.h b/include/net/netevent.h index e5d2162414..e82b7bab3f 100644 --- a/include/net/netevent.h +++ b/include/net/netevent.h @@ -12,7 +12,7 @@ */ #ifdef __KERNEL__ -#include +struct dst_entry; struct netevent_redirect { struct dst_entry *old;