From nobody Sat May 07 19:58:12 2022 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 90CAD1AD59CB; Sat, 7 May 2022 19:58:12 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KwdXN2yG5z3Hgj; Sat, 7 May 2022 19:58:12 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651953492; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=bG+EkiZC18xzf+Ju+zM4ed3WYeh7b8Y/773uCu58QOg=; b=sPCcjyEFj/MKKpyodnKsnqHhPfrfu7JQDSec8GEL+FK54nHcblXFzFlRMXFwaMcX8Xp5Kf VLu1SsGXBqpoaSIxLb5Ukaf7iysVD9so2koU2cjKRFerlqlzxZNEJwyHoL4isnd2n83kJc XTtJauq0rkx7+G7jPSVa5t5dbPVwP6a9IV9pjhl0H55Ngg/8Mjyu65fIwPu9NfXNViCw8V rodt2gsQHGjgXXit6C1VbVqhA6xZR/6f17NnluDxZPWjcfS14afw+QfbXq77o0RLWo3Yt0 egeqsb/mxDQJVihYqtSHPWQuz3cJ6G3jY12ivRIbs/JM1AVFkx41jIQ/F+2nfQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 39B8716AEB; Sat, 7 May 2022 19:58:12 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 247JwCAs040383; Sat, 7 May 2022 19:58:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 247JwC7J040382; Sat, 7 May 2022 19:58:12 GMT (envelope-from git) Date: Sat, 7 May 2022 19:58:12 GMT Message-Id: <202205071958.247JwC7J040382@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Kristof Provost Subject: git: 017e7d039087 - main - in_rss: fix set but not used warning List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 017e7d0390870061372f8f708dcbff612983f97a Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651953492; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=bG+EkiZC18xzf+Ju+zM4ed3WYeh7b8Y/773uCu58QOg=; b=CYrKQx+wbn1eaYTr/BvAesT94O9yQDe41JebKtVnBQAiG0JtF6y0AssR0UITWF4IFZrr9g nYUiZeSpsu2PgbuaXLQDkRFzrRBabHhj57vo25pkU719qfJIav8DKf+GsPNclWQRmE1FNv GBPNYvRpWjDtFO32mNdygmvLjPXwsd4iwA2NgIVSKg6G2v6H21oNta8J5LXfzIh78Kj2A8 gJBirY/Gaj5StQMA90MFLiFnrrcYAvTfZmTyWMAw669igXDBCys47mY9RRs0Ll/XdUWu5F Y2S6lDd9HJ+BG7doJiTuQOzyn1HtEXs8cm8YkalZSIp74Sqbe1HxncnGnHVg/A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651953492; a=rsa-sha256; cv=none; b=uh8FzyGzEmyLTc7B9YwnNSMh9cpcYcL+sk6Bpn+CXrBfuSybqeszvNH3sQ0kW0Ug60N4IP CEbGNGKH+7L9hQUF3IbSyrpcduXsM6Mny9WQy6A1iaOKns225Nj/WkJsIYCvPvxRzgMgkF RdV8OmRPco0MYMCsVk/vRm2ITkUO69oqiIx90QYyTWHe0LlOsveiyes/mvVudbpW30H7Ki VU4tgwCGEbQWPVfSHS1lXfbHS7clIvnXKW2CCWFyLYsAuO/1dzO2AIKBYmnHhzDooKkOpl A4Gcwv+sD+MrzInQ+eIF7MWtSbrK7q5DwUgVAhnCXa13imU4RJgBTWaGmNm0oA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=017e7d0390870061372f8f708dcbff612983f97a commit 017e7d0390870061372f8f708dcbff612983f97a Author: Kristof Provost AuthorDate: 2022-05-07 14:01:13 +0000 Commit: Kristof Provost CommitDate: 2022-05-07 16:17:33 +0000 in_rss: fix set but not used warning If 'options RSS' is set. MFC after: 1 week Sponsored by: Orange Business Services --- sys/netinet/in_rss.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/netinet/in_rss.c b/sys/netinet/in_rss.c index 5dffbc5b5fd0..18cfaf986c4a 100644 --- a/sys/netinet/in_rss.c +++ b/sys/netinet/in_rss.c @@ -210,7 +210,6 @@ rss_mbuf_software_hash_v4(const struct mbuf *m, int dir, uint32_t *hashval, const struct ip *ip; const struct tcphdr *th; const struct udphdr *uh; - uint32_t flowid; uint32_t flowtype; uint8_t proto; int iphlen; @@ -261,7 +260,6 @@ rss_mbuf_software_hash_v4(const struct mbuf *m, int dir, uint32_t *hashval, * then we shouldn't just "trust" the 2-tuple hash. We need * a 4-tuple hash. */ - flowid = m->m_pkthdr.flowid; flowtype = M_HASHTYPE_GET(m); if (flowtype != M_HASHTYPE_NONE) {