diff options
author | Phil Sutter <phil@nwl.cc> | 2022-04-14 13:39:24 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2022-04-14 17:16:27 +0200 |
commit | 48204bd70d0897c1a1fb2a0dfc8c0afd0275d8bb (patch) | |
tree | 40abe591f2557ccc6775682a60b3236c02542eae /src/json.c | |
parent | ab1b21be54b2be4130f10dda7127aeca3195e252 (diff) |
intervals: Simplify element sanity checks
Since setelem_delete() assigns to 'prev' pointer only if it doesn't have
EXPR_F_REMOVE flag set, there is no need to check that flag in called
functions.
Fixes: 3e8d934e4f722 ("intervals: support to partial deletion with automerge")
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/json.c')
0 files changed, 0 insertions, 0 deletions