From nobody Sat May 14 21:27:16 2022 X-Original-To: dev-commits-src-all@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 77D8A1AD2107; Sat, 14 May 2022 21:27:16 +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 4L0z9w2vNBz4k0m; Sat, 14 May 2022 21:27:16 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652563636; 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=7Aya/Sw5w/ruYmIviQ2rO9KNnyo+jWVFThwHjwVQHB8=; b=SvYAHFauGJZJXmRtBdhjFBzYva9OOove1pbc7Gh+WksCRz5CK22vlEDVRXXtYrUdOJPKvH p6Ew79Gstg+dX8YHvwknp5l7A6nWdNU5IZxWu67XdoVTgqMgbleftQ5ZnAsWY/SYS/G9ud 79Wd8tjv5UFKPoQDrXty5WYZqUa5VF1OMZ1qJVzorE7vgiEOaaPlqheMiqeu3MZGx9MHR6 VtA7Fze7M4orYDPjF4f1Zk4zViiZYSe25NgLV3T4MRTqFg8xzJeP7SfsXbto4LOEA324cj FQ4nrRA9EC+eOH3XNRhggMX0LAgb2TS62K8Vms57gS7wlmhv5RU9NRs4eMhTIw== 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 43B601EF4A; Sat, 14 May 2022 21:27:16 +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 24ELRGif098999; Sat, 14 May 2022 21:27:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24ELRGS9098998; Sat, 14 May 2022 21:27:16 GMT (envelope-from git) Date: Sat, 14 May 2022 21:27:16 GMT Message-Id: <202205142127.24ELRGS9098998@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Kristof Provost Subject: git: f4e4c5c4c22f - stable/13 - in_rss: fix set but not used warning List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@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/stable/13 X-Git-Reftype: branch X-Git-Commit: f4e4c5c4c22f9c902125fc8a1dcc38560b2687b0 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652563636; 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=7Aya/Sw5w/ruYmIviQ2rO9KNnyo+jWVFThwHjwVQHB8=; b=V/FeeFtfvR6BLmlWKCJ6K9/FSYC3/rTveI0vENr/m57x+GpqvvMpSCMjUw12kpgPMqGSDT cyECD/sBx6ZN0kCMkNN1sGqp7kEBWsDLRA4NbyjIWZuR9k45eRoEXZv6QKLmdDSDJznQmR DAVGfpwldlhIEQIMyxprMo4MFTIpvgAC1NsTkCu7UJWwvM7IvJ1Ya7vgdP9CwSX1RoN2gk aTDvVG4SUE1Vwsi9Q6MXA01HatIRiEDd9EbtnWTGLKBdVv6Ak18oLe51DjGvE/lAo8hDNb 9COmL8h1MM43IDpdCv1DJWNQi2GYJH3ETc3WMAUcOvaclVI5/32+suQ0+cOK9A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652563636; a=rsa-sha256; cv=none; b=EsjSKzYZF/pfjeTlFMi2JBg6h0YODqqG8bU1hxxvRFkcgic/ZdQSzOFqyGBdU0ygxrPriK 93w5rhr2RdGEEKjwtcj2dEBtqmzwYQUM/r3R5s2dh9pBkHMgB0NviitengDNvaMSjHVusQ d+c8D0hci0Mo6UYX/d5u73VfBjc+B4Jk/2k+WqI5yNLqVouQ+lT1IVqTYJmokv7/04W5uq 0P0EtWkyn9HScAHvoqY3J3bC/PRSfAtTjtlQxXq12NSOX2Y/sFQle5ddxU/20DojjfjJeo FqXVsoa13Sabt4T6DChnqiFOqbPPMdIU1gXQjrfo0T3Zv/fWz804nu9+jhs9jw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=f4e4c5c4c22f9c902125fc8a1dcc38560b2687b0 commit f4e4c5c4c22f9c902125fc8a1dcc38560b2687b0 Author: Kristof Provost AuthorDate: 2022-05-07 14:01:13 +0000 Commit: Kristof Provost CommitDate: 2022-05-14 09:10:19 +0000 in_rss: fix set but not used warning If 'options RSS' is set. MFC after: 1 week Sponsored by: Orange Business Services (cherry picked from commit 017e7d0390870061372f8f708dcbff612983f97a) --- 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 05659b97fe7c..e73d2d236f92 100644 --- a/sys/netinet/in_rss.c +++ b/sys/netinet/in_rss.c @@ -215,7 +215,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; @@ -266,7 +265,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) {