Trim double empty lines.

This commit is contained in:
Gleb Smirnoff 2012-02-15 15:06:03 +00:00
parent 3eb05c287a
commit 923d1d7814
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=231765

View File

@ -240,7 +240,6 @@ int ng_path_parse(char *addr, char **node, char **path, char **hook);
void ng_rmnode(node_p node, hook_p dummy1, void *dummy2, int dummy3);
void ng_unname(node_p node);
/* Our own netgraph malloc type */
MALLOC_DEFINE(M_NETGRAPH, "netgraph", "netgraph structures and ctrl messages");
MALLOC_DEFINE(M_NETGRAPH_MSG, "netgraph_msg", "netgraph name storage");
@ -341,7 +340,6 @@ ng_alloc_node(void)
#define NG_ALLOC_HOOK(hook) do { (hook) = ng_alloc_hook(); } while (0)
#define NG_ALLOC_NODE(node) do { (node) = ng_alloc_node(); } while (0)
#define NG_FREE_HOOK(hook) \
do { \
mtx_lock(&ng_nodelist_mtx); \
@ -1206,7 +1204,6 @@ ng_newtype(struct ng_type *tp)
return (EEXIST);
}
/* Link in new type */
TYPELIST_WLOCK();
LIST_INSERT_HEAD(&ng_typelist, tp, types);
@ -3275,7 +3272,6 @@ SYSCTL_PROC(_debug, OID_AUTO, ng_dump_items, CTLTYPE_INT | CTLFLAG_RW,
0, sizeof(int), sysctl_debug_ng_dump_items, "I", "Number of allocated items");
#endif /* NETGRAPH_DEBUG */
/***********************************************************************
* Worklist routines
**********************************************************************/
@ -3359,7 +3355,6 @@ ng_worklist_add(node_p node)
}
}
/***********************************************************************
* Externally useable functions to set up a queue item ready for sending
***********************************************************************/
@ -3440,8 +3435,6 @@ ng_package_msg(struct ng_mesg *msg, int flags)
return (item);
}
#define SET_RETADDR(item, here, retaddr) \
do { /* Data or fn items don't have retaddrs */ \
if ((item->el_flags & NGQF_TYPE) == NGQF_MESG) { \
@ -3667,7 +3660,6 @@ ng_callout_trampoline(void *arg)
CURVNET_RESTORE();
}
int
ng_callout(struct callout *c, node_p node, hook_p hook, int ticks,
ng_item_fn *fn, void * arg1, int arg2)