summaryrefslogtreecommitdiffstats
path: root/ffd/neigh.h
diff options
context:
space:
mode:
Diffstat (limited to 'ffd/neigh.h')
-rw-r--r--ffd/neigh.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/ffd/neigh.h b/ffd/neigh.h
index aa0d1f9..3e84a8e 100644
--- a/ffd/neigh.h
+++ b/ffd/neigh.h
@@ -44,10 +44,6 @@ static inline void ffd_neigh_ref(ffd_neigh_t *neigh) {
neigh->ref++;
}
-static inline void ffd_neigh_unref(ffd_neigh_t *neigh) {
- if (!(--neigh->ref) && !neigh->iface)
- free(neigh);
-}
ffd_neigh_t* ffd_neigh_get(ffd_iface_t *iface, const eth_addr_t *addr);
void ffd_neigh_unref(ffd_neigh_t *neigh);