summaryrefslogtreecommitdiffstats
path: root/net/core/neighbour.c
diff options
context:
space:
mode:
authorHiroaki SHIMODA <shimoda.hiroaki@gmail.com>2012-04-13 07:34:44 +0000
committerDavid S. Miller <davem@davemloft.net>2012-04-13 14:00:44 -0400
commitdcd2ba92e842eec0d0372415fa26f1c411f5530d (patch)
treeaa68fbb0372897b0af17357d9d13ae717d8c11d9 /net/core/neighbour.c
parent447167bf565a474ff0cfb0f41d54936937479e97 (diff)
downloadop-kernel-dev-dcd2ba92e842eec0d0372415fa26f1c411f5530d.zip
op-kernel-dev-dcd2ba92e842eec0d0372415fa26f1c411f5530d.tar.gz
neighbour: Make neigh_table_init_no_netlink() static.
neigh_table_init_no_netlink() is only used in net/core/neighbour.c file. Signed-off-by: Hiroaki SHIMODA <shimoda.hiroaki@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/neighbour.c')
-rw-r--r--net/core/neighbour.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/core/neighbour.c b/net/core/neighbour.c
index ac71765..2d3e6fc 100644
--- a/net/core/neighbour.c
+++ b/net/core/neighbour.c
@@ -1500,7 +1500,7 @@ static void neigh_parms_destroy(struct neigh_parms *parms)
static struct lock_class_key neigh_table_proxy_queue_class;
-void neigh_table_init_no_netlink(struct neigh_table *tbl)
+static void neigh_table_init_no_netlink(struct neigh_table *tbl)
{
unsigned long now = jiffies;
unsigned long phsize;
@@ -1538,7 +1538,6 @@ void neigh_table_init_no_netlink(struct neigh_table *tbl)
tbl->last_flush = now;
tbl->last_rand = now + tbl->parms.reachable_time * 20;
}
-EXPORT_SYMBOL(neigh_table_init_no_netlink);
void neigh_table_init(struct neigh_table *tbl)
{
OpenPOWER on IntegriCloud