* Removal of the last link destroys the nodeo */
| 110 | * Removal of the last link destroys the nodeo |
| 111 | */ |
| 112 | static int |
| 113 | nge_disconnect(hook_p hook) |
| 114 | { |
| 115 | if ((NG_NODE_NUMHOOKS(NG_HOOK_NODE(hook)) == 0) |
| 116 | && (NG_NODE_IS_VALID(NG_HOOK_NODE(hook)))) { |
| 117 | ng_rmnode_self(NG_HOOK_NODE(hook)); |
| 118 | } |
| 119 | return (0); |
| 120 | } |
nothing calls this directly
no test coverage detected