Skip to content

Commit

Permalink
xfrm: remove redundant check in xfrm_sa_update_cache()
Browse files Browse the repository at this point in the history
  • Loading branch information
thom311 committed Sep 12, 2024
1 parent d48da13 commit 11597b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/xfrm/sa.c
Original file line number Diff line number Diff line change
Expand Up @@ -1050,7 +1050,7 @@ static int xfrm_sa_update_cache (struct nl_cache *cache, struct nl_object *obj,
else if (change_cb)
change_cb(cache, obj, NL_ACT_NEW, data);
}
else if (old_sa)
else
{
uint64_t diff = 0;
if (change_cb || change_cb_v2)
Expand Down

0 comments on commit 11597b7

Please sign in to comment.