summaryrefslogtreecommitdiffstats
path: root/sys/netgraph
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2006-01-12 21:03:09 +0000
committerglebius <glebius@FreeBSD.org>2006-01-12 21:03:09 +0000
commit7440f79a64f874d6cfeeafb9f82c2b0c78c81eff (patch)
treebf5c700495cb55ec4ea00a4e8b8fb820d86fa67b /sys/netgraph
parent153c9f0ed9343e582a99d329549fbd900f642e3e (diff)
downloadFreeBSD-src-7440f79a64f874d6cfeeafb9f82c2b0c78c81eff.zip
FreeBSD-src-7440f79a64f874d6cfeeafb9f82c2b0c78c81eff.tar.gz
Remove old debugging leftover.
Reviewed by: julian
Diffstat (limited to 'sys/netgraph')
-rw-r--r--sys/netgraph/netgraph.h4
-rw-r--r--sys/netgraph/ng_base.c8
2 files changed, 1 insertions, 11 deletions
diff --git a/sys/netgraph/netgraph.h b/sys/netgraph/netgraph.h
index ae4bf70..5e26266 100644
--- a/sys/netgraph/netgraph.h
+++ b/sys/netgraph/netgraph.h
@@ -411,7 +411,6 @@ static __inline void _chknode(node_p node, char *file, int line);
static __inline char * _ng_node_name(node_p node, char *file, int line);
static __inline int _ng_node_has_name(node_p node, char *file, int line);
static __inline ng_ID_t _ng_node_id(node_p node, char *file, int line);
-void ng_ref_node(node_p node);
static __inline void _ng_node_ref(node_p node, char *file, int line);
static __inline int _ng_node_unref(node_p node, char *file, int line);
static __inline void _ng_node_set_private(node_p node, void * val,
@@ -461,8 +460,7 @@ static __inline void
_ng_node_ref(node_p node, char *file, int line)
{
_chknode(node, file, line);
- /*_NG_NODE_REF(node);*/
- ng_ref_node(node);
+ _NG_NODE_REF(node);
}
static __inline int
diff --git a/sys/netgraph/ng_base.c b/sys/netgraph/ng_base.c
index 098fb9a..e13b8e0 100644
--- a/sys/netgraph/ng_base.c
+++ b/sys/netgraph/ng_base.c
@@ -733,14 +733,6 @@ ng_rmnode(node_p node, hook_p dummy1, void *dummy2, int dummy3)
NG_NODE_UNREF(node);
}
-#ifdef NETGRAPH_DEBUG
-void
-ng_ref_node(node_p node)
-{
- _NG_NODE_REF(node);
-}
-#endif
-
/*
* Remove a reference to the node, possibly the last.
* deadnode always acts as it it were the last.
OpenPOWER on IntegriCloud