Skip to content

Commit

Permalink
arp: remove unnecessary export of arp_broken_ops
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
stephen hemminger authored and David S. Miller committed Sep 30, 2010
1 parent bfa5ae6 commit a64de47
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions include/net/arp.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
3 changes: 1 addition & 2 deletions net/ipv4/arp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit a64de47

Please sign in to comment.