diff options
author | Mateusz Guzik <mjg@FreeBSD.org> | 2020-09-01 21:19:14 +0000 |
---|---|---|
committer | Mateusz Guzik <mjg@FreeBSD.org> | 2020-09-01 21:19:14 +0000 |
commit | 662c13053f4bf2d6245ba7e2b66c10d1cd5c1fb9 (patch) | |
tree | 5cffe4473640975abc443ef4b8047b34cdb4a039 /sys/netpfil/ipfw/ip_fw_table_value.c | |
parent | 586ee69f09c5060621486b34722a4a806581f93d (diff) | |
download | src-662c13053f4bf2d6245ba7e2b66c10d1cd5c1fb9.tar.gz src-662c13053f4bf2d6245ba7e2b66c10d1cd5c1fb9.zip |
net: clean up empty lines in .c and .h files
Notes
Notes:
svn path=/head/; revision=365071
Diffstat (limited to 'sys/netpfil/ipfw/ip_fw_table_value.c')
-rw-r--r-- | sys/netpfil/ipfw/ip_fw_table_value.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/netpfil/ipfw/ip_fw_table_value.c b/sys/netpfil/ipfw/ip_fw_table_value.c index 9e1055235b2f..025ee5923a10 100644 --- a/sys/netpfil/ipfw/ip_fw_table_value.c +++ b/sys/netpfil/ipfw/ip_fw_table_value.c @@ -86,7 +86,6 @@ struct vdump_args { int error; }; - static uint32_t hash_table_value(struct namedobj_instance *ni, const void *key, uint32_t kopt) { @@ -372,7 +371,6 @@ alloc_table_vidx(struct ip_fw_chain *ch, struct tableop_state *ts, error = ipfw_objhash_alloc_idx(vi, &vidx); if (error != 0) { - /* * We need to resize array. This involves * lock/unlock, so we need to check "modified" @@ -385,7 +383,6 @@ alloc_table_vidx(struct ip_fw_chain *ch, struct tableop_state *ts, vlimit = ts->ta->vlimit; if (vlimit != 0 && vidx >= vlimit && !(flags & IPFW_CTF_ATOMIC)) { - /* * Algorithm is not able to store given index. * We have to rollback state, start using @@ -445,7 +442,6 @@ ipfw_garbage_table_values(struct ip_fw_chain *ch, struct table_config *tc, ptei = &tei[i]; if (ptei->value == 0) { - /* * We may be deleting non-existing record. * Skip. @@ -550,7 +546,6 @@ ipfw_link_table_values(struct ip_fw_chain *ch, struct tableop_state *ts, tc_unref(tc); del_toperation_state(ch, ts); if (ts->modified != 0) { - /* * In general, we should free all state/indexes here * and return. However, we keep allocated state instead @@ -804,4 +799,3 @@ ipfw_table_value_destroy(struct ip_fw_chain *ch, int last) ipfw_objhash_foreach(CHAIN_TO_VI(ch), destroy_value, ch); ipfw_objhash_destroy(CHAIN_TO_VI(ch)); } - |