mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-08 18:57:22 +00:00
xfrm: remove redundant assignments
These assignments are overwritten within the same function further down commite8961c50ee("xfrm: Refactor migration setup during the cloning process") x->props.family = m->new_family; Which actually moved it in the commite03c3bba35("xfrm: Fix xfrm migrate issues when address family changes") And the initial commit80c9abaabf("[XFRM]: Extension for dynamic update of endpoint address(es)") added x->props.saddr = orig->props.saddr; and memcpy(&xc->props.saddr, &m->new_saddr, sizeof(xc->props.saddr)); Reviewed-by: Sabrina Dubroca <sd@queasysnail.net> Signed-off-by: Antony Antony <antony.antony@secunet.com> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
This commit is contained in:
parent
41c4d3b26f
commit
440bf355d3
1 changed files with 0 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue