From: Herbert Xu Date: Wed, 14 Nov 2007 05:34:34 +0000 (-0800) Subject: [NET]: Remove unnecessary inclusion of dst.h X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=274b3426db25b8d63cbf25475e728ce1ee6caebd;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git [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 e5d21624142..e82b7bab3ff 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;