Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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>

authored by

Herbert Xu and committed by
David S. Miller
274b3426 352e512c

+1 -1
+1 -1
include/net/netevent.h
··· 12 12 */ 13 13 #ifdef __KERNEL__ 14 14 15 - #include <net/dst.h> 15 + struct dst_entry; 16 16 17 17 struct netevent_redirect { 18 18 struct dst_entry *old;