]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
child-create: Remove redundant variable assignment
authorTobias Brunner <tobias@strongswan.org>
Thu, 8 Aug 2024 09:18:24 +0000 (11:18 +0200)
committerTobias Brunner <tobias@strongswan.org>
Thu, 8 Aug 2024 09:18:24 +0000 (11:18 +0200)
src/libcharon/sa/ikev2/tasks/child_create.c

index c3a12780f68d3ceffa23df6d240e1f2a624520b9..66a4cabe5b0cf2589f11d78bb41b79464e1c1346 100644 (file)
@@ -625,9 +625,6 @@ static status_t install_child_sa(private_child_create_t *this)
                nonce_i = this->other_nonce;
                nonce_r = this->my_nonce;
 
-               my_ts = this->tsr;
-               other_ts = this->tsi;
-
                /* use a copy of the traffic selectors, as the POST hook should not
                 * change payloads */
                my_ts = this->tsr->clone_offset(this->tsr,