]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
arp: remove unnecessary export of arp_broken_ops
authorstephen hemminger <shemminger@vyatta.com>
Tue, 28 Sep 2010 17:08:02 +0000 (17:08 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Sep 2010 02:45:35 +0000 (19:45 -0700)
arp_broken_ops is only used in arp.c

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/arp.h
net/ipv4/arp.c

index 716f43c5c98eb92061cc2eb416c270ea8c68cd4a..f4cf6ce66586e03164703575283af6354de12385 100644 (file)
@@ -26,6 +26,4 @@ extern struct sk_buff *arp_create(int type, int ptype, __be32 dest_ip,
                                  const unsigned char *target_hw);
 extern void arp_xmit(struct sk_buff *skb);
 
-extern const struct neigh_ops arp_broken_ops;
-
 #endif /* _ARP_H */
index 4083c186fd304a55ed1a5d446371eda1d2661b2f..d9031ad67826f99b71f50acd90c91de61ba6d7be 100644 (file)
@@ -161,7 +161,7 @@ static const struct neigh_ops arp_direct_ops = {
        .queue_xmit =           dev_queue_xmit,
 };
 
-const struct neigh_ops arp_broken_ops = {
+static const struct neigh_ops arp_broken_ops = {
        .family =               AF_INET,
        .solicit =              arp_solicit,
        .error_report =         arp_error_report,
@@ -170,7 +170,6 @@ const struct neigh_ops arp_broken_ops = {
        .hh_output =            dev_queue_xmit,
        .queue_xmit =           dev_queue_xmit,
 };
-EXPORT_SYMBOL(arp_broken_ops);
 
 struct neigh_table arp_tbl = {
        .family         = AF_INET,