diff options
author | stephen hemminger <shemminger@vyatta.com> | 2010-09-28 19:08:02 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-09-30 04:45:35 +0200 |
commit | a64de47c091e4a337fa9763315cb6f2fbf0c583b (patch) | |
tree | e545dbaede640218956daf1bdd5d503986318861 | |
parent | net: rename netdev rx_queue to ingress_queue (diff) | |
download | linux-a64de47c091e4a337fa9763315cb6f2fbf0c583b.tar.xz linux-a64de47c091e4a337fa9763315cb6f2fbf0c583b.zip |
arp: remove unnecessary export of arp_broken_ops
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>
-rw-r--r-- | include/net/arp.h | 2 | ||||
-rw-r--r-- | net/ipv4/arp.c | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/include/net/arp.h b/include/net/arp.h index 716f43c5c98e..f4cf6ce66586 100644 --- a/include/net/arp.h +++ b/include/net/arp.h @@ -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 */ diff --git a/net/ipv4/arp.c b/net/ipv4/arp.c index 4083c186fd30..d9031ad67826 100644 --- a/net/ipv4/arp.c +++ b/net/ipv4/arp.c @@ -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, |