All of lore.kernel.org
 help / color / mirror / Atom feed
From: Florian Westphal <fw@strlen.de>
To: <netfilter-devel@vger.kernel.org>
Cc: Florian Westphal <fw@strlen.de>
Subject: [PATCH nft] payload: remove double-store
Date: Tue, 25 Feb 2025 21:33:30 +0100	[thread overview]
Message-ID: <20250225203334.28465-1-fw@strlen.de> (raw)

This assignment was duplicated.

Signed-off-by: Florian Westphal <fw@strlen.de>
---
 src/payload.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/payload.c b/src/payload.c
index f8b192b5f2fa..eadc92efc0d7 100644
--- a/src/payload.c
+++ b/src/payload.c
@@ -353,7 +353,6 @@ void payload_init_raw(struct expr *expr, enum proto_bases base,
 		expr->payload.tmpl = &proto_th.templates[thf];
 		expr->payload.desc = &proto_th;
 		expr->dtype = &inet_service_type;
-		expr->payload.desc = &proto_th;
 		break;
 	default:
 		break;
-- 
2.45.3


             reply	other threads:[~2025-02-25 20:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-25 20:33 Florian Westphal [this message]
2025-02-25 23:11 ` [PATCH nft] payload: remove double-store Pablo Neira Ayuso

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250225203334.28465-1-fw@strlen.de \
    --to=fw@strlen.de \
    --cc=netfilter-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.