mirror of
https://git.FreeBSD.org/src.git
synced 2025-02-03 17:11:32 +00:00
Remove old debugging leftover.
Reviewed by: julian
This commit is contained in:
parent
3d11d44ca1
commit
22b286280c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=154270
@ -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
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user