summaryrefslogtreecommitdiff
path: root/net/core
diff options
context:
space:
mode:
authorHideaki Yoshifuji <yoshfuji@linux-ipv6.org>2003-06-11 09:37:22 -0700
committerHideaki Yoshifuji <yoshfuji@linux-ipv6.org>2003-06-11 09:37:22 -0700
commitf708f52852ac4d5dec12220039398dc0ebbb747b (patch)
tree66e45bba6d0bef8feb19fb5955b78cf924624d02 /net/core
parentf1e5cedddb4b8dbc5485c5b896a65a1bb443d5e5 (diff)
[NET]: Make neigh_parms setup/teardown handling symmetric.
Diffstat (limited to 'net/core')
-rw-r--r--net/core/neighbour.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/net/core/neighbour.c b/net/core/neighbour.c
index a70ebc4b50d4..c640ad5b41f9 100644
--- a/net/core/neighbour.c
+++ b/net/core/neighbour.c
@@ -1114,9 +1114,6 @@ void neigh_parms_release(struct neigh_table *tbl, struct neigh_parms *parms)
if (*p == parms) {
*p = parms->next;
write_unlock_bh(&tbl->lock);
-#ifdef CONFIG_SYSCTL
- neigh_sysctl_unregister(parms);
-#endif
kfree(parms);
return;
}
@@ -1179,9 +1176,6 @@ int neigh_table_clear(struct neigh_table *tbl)
}
}
write_unlock(&neigh_tbl_lock);
-#ifdef CONFIG_SYSCTL
- neigh_sysctl_unregister(&tbl->parms);
-#endif
return 0;
}