Skip to content

Commit

Permalink
[NET]: Remove unnecessary inclusion of dst.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Herbert Xu authored and David S. Miller committed Jan 28, 2008
1 parent 352e512 commit 274b342
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/net/netevent.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/
#ifdef __KERNEL__

#include <net/dst.h>
struct dst_entry;

struct netevent_redirect {
struct dst_entry *old;
Expand Down

0 comments on commit 274b342

Please sign in to comment.