Skip to content

Commit

Permalink
Remove old debugging leftover.
Browse files Browse the repository at this point in the history
Reviewed by:	julian
  • Loading branch information
glebius committed Jan 12, 2006
1 parent 153c9f0 commit 7440f79
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
4 changes: 1 addition & 3 deletions sys/netgraph/netgraph.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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
Expand Down
8 changes: 0 additions & 8 deletions sys/netgraph/ng_base.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 7440f79

Please sign in to comment.