diff options
author | glebius <glebius@FreeBSD.org> | 2011-04-18 09:14:23 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2011-04-18 09:14:23 +0000 |
commit | 5c189772ee5e4a4e2ac3d72333e87e0dca7c4ce6 (patch) | |
tree | 336b840cadb4cba20b6fc2d386da8229f2de18bd /sys/netgraph/netflow/netflow.c | |
parent | 6c78a88c3bb5f7c87b56f79915289532c9997f86 (diff) | |
download | FreeBSD-src-5c189772ee5e4a4e2ac3d72333e87e0dca7c4ce6.zip FreeBSD-src-5c189772ee5e4a4e2ac3d72333e87e0dca7c4ce6.tar.gz |
ng_netflow_cache_init() can be void.
Diffstat (limited to 'sys/netgraph/netflow/netflow.c')
-rw-r--r-- | sys/netgraph/netflow/netflow.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/netgraph/netflow/netflow.c b/sys/netgraph/netflow/netflow.c index ea1c785..dfbb507 100644 --- a/sys/netgraph/netflow/netflow.c +++ b/sys/netgraph/netflow/netflow.c @@ -503,7 +503,7 @@ hash6_insert(priv_p priv, struct flow6_hash_entry *hsh6, struct flow6_rec *r, */ /* Allocate memory and set up flow cache */ -int +void ng_netflow_cache_init(priv_p priv) { struct flow_hash_entry *hsh; @@ -546,8 +546,6 @@ ng_netflow_cache_init(priv_p priv) ng_netflow_v9_cache_init(priv); CTR0(KTR_NET, "ng_netflow startup()"); - - return (0); } /* Initialize new FIB table for v5 and v9 */ |