* [PATCH net-next] arp: remove unnecessary export of arp_broken_ops
@ 2010-09-29 3:08 Stephen Hemminger
2010-09-30 2:46 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Stephen Hemminger @ 2010-09-29 3:08 UTC (permalink / raw)
To: David Miller; +Cc: netdev
arp_broken_ops is only used in arp.c
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
--- a/include/net/arp.h 2010-09-29 10:36:46.125871462 +0900
+++ b/include/net/arp.h 2010-09-29 10:36:51.195923872 +0900
@@ -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 */
--- a/net/ipv4/arp.c 2010-09-29 10:36:46.135874409 +0900
+++ b/net/ipv4/arp.c 2010-09-29 10:37:15.985915408 +0900
@@ -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,
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH net-next] arp: remove unnecessary export of arp_broken_ops
2010-09-29 3:08 [PATCH net-next] arp: remove unnecessary export of arp_broken_ops Stephen Hemminger
@ 2010-09-30 2:46 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2010-09-30 2:46 UTC (permalink / raw)
To: shemminger; +Cc: netdev
From: Stephen Hemminger <shemminger@vyatta.com>
Date: Wed, 29 Sep 2010 12:08:02 +0900
> arp_broken_ops is only used in arp.c
>
> Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-09-30 2:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-29 3:08 [PATCH net-next] arp: remove unnecessary export of arp_broken_ops Stephen Hemminger
2010-09-30 2:46 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).