Skip to contentSkip to conversation

arp: remove unnecessary export of arp_broken_ops

PATCH Applied Stephen Hemminger 2 participants 2 messages Sep 29, 2010 – Sep 30, 2010

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arp: remove unnecessary export of arp_broken_ops

arp_broken_ops is only used in arp.c

include/net/arp.h +0 -2
@@ -26,6 +26,4 @@ extern struct sk_buff *arp_create(int ty
 				  const unsigned char *target_hw);
 extern void arp_xmit(struct sk_buff *skb);
 
-extern const struct neigh_ops arp_broken_ops;
-
 #endif	/* _ARP_H */
net/ipv4/arp.c +1 -2
@@ -161,7 +161,7 @@ static const struct neigh_ops arp_direct
 	.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,