]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/core/dst.c
[NET]: Eliminate duplicate copies of dst_discard
[linux-2.6-omap-h63xx.git] / net / core / dst.c
index 16958e64e577f8c12723f02129a5f1e9b1791fdb..f538061f4b93c22358969e370d6beca4e1b28780 100644 (file)
@@ -18,7 +18,6 @@
 #include <linux/types.h>
 #include <net/net_namespace.h>
 
-#include <net/net_namespace.h>
 #include <net/dst.h>
 
 /*
@@ -154,11 +153,12 @@ loop:
 #endif
 }
 
-static int dst_discard(struct sk_buff *skb)
+int dst_discard(struct sk_buff *skb)
 {
        kfree_skb(skb);
        return 0;
 }
+EXPORT_SYMBOL(dst_discard);
 
 void * dst_alloc(struct dst_ops * ops)
 {