From nobody Sat May 14 21:05:05 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 AE51B1ACDB01; Sat, 14 May 2022 21:05:05 +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 4L0yhK4Twyz4hZl; Sat, 14 May 2022 21:05:05 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652562305; 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=C10fL2ZPJcE0XxwExbj5fbZwwH3Ng8zVJY92tYiNKQo=; b=Ciq+uZ2OtXRzGCMttYI9f76GlA8J2u/His1lMENPaeMefWS5KoPRoUv4JTKwyDNIMEenh9 OXIR8xCI4HbU7RlR2gfJv4BncoexkLhlHTYO8cyltY3qtgy/cxXHSv0+xNcpAEHEivvMca RN1e3P36E/HJvU49TjRPc7sA/sfEosUhXklXcBmNU1tbx/ENN076i7Y6I3/PJFG7CXlves 5GZRZHV/fcefHlAqwiA63A6DzdFfqovzGJnHhhoMhCmzRjn7Tl/5CxUIlOT0jYAH9/LJH0 Cy3Iqej8ahBm7gWXC746rT4u50Gam1vF4vE00O0YioblQWzTKnX4JtJ+NBx3Ag== 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 79FBB1E8B1; Sat, 14 May 2022 21:05:05 +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 24EL551F071952; Sat, 14 May 2022 21:05:05 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24EL55lD071951; Sat, 14 May 2022 21:05:05 GMT (envelope-from git) Date: Sat, 14 May 2022 21:05:05 GMT Message-Id: <202205142105.24EL55lD071951@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: 7389c8b3edbc - stable/12 - 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/12 X-Git-Reftype: branch X-Git-Commit: 7389c8b3edbc6155e9a1ff3d0287b379f446da6b Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652562305; 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=C10fL2ZPJcE0XxwExbj5fbZwwH3Ng8zVJY92tYiNKQo=; b=F35IyFvJzFDIuVKP20INOdXJf4af0pOHOpTWUZEtauYzQ7hD0syCTwCPgxk+RKFRQQ84K8 Xh6AiHUOsmVFmNhEeUkrL9CIZT/1+ta0CIQKtUHzOTsFU1gHcszFN7KZNSl3D/6Pvoe5Us 7yhNyNJhttEhkU1byoV3BXgp8yXtFeJdxrrcfMhlmE0MpMPCOtJN82Tl/h7jngR89hg1n7 BgBrpdJ/HXmchujevQqjX7nzTVFFv5iVsjE4q9yVlH8RTHkZei5HHxM4SbYe3k7T5unH9A tbAOTF5WUFL6p46Rf7bbw/UkqJW3SaJUxVqlHaMW2w0wS9WG2vXw2SPK2lOgBQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652562305; a=rsa-sha256; cv=none; b=ZVcvPrnnEyg9qX649nWGUMcvw52JMlxIzXWWncmCB4UusKFT0N0MHCTz8WktNr2QK75spM bW1VMRXVWGpl9qDLXUWqv0WFhNWoxBeB2SHBYrys6NZh5ECEjD/RLaOwbVEVX4nTgkrlMG xa/KTqYHX8vQxMlS0//5M/os2OapCBsWHanBByPw0SMX4Ic6x06fELTzjIlkfnhq7v+M1+ mpHmIx5PCp1W9C+G0nCxZd6Qdoiul4Zk1OXsn8/+z6p16VfvgHo/BlSsPDzx45sciXY2zg zGUHnhexbq6UXNwRNmJ/K3Qs6k2CS3Km706SLfTH1ko9mC/7jA5DSvX+pE30PA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/12 has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=7389c8b3edbc6155e9a1ff3d0287b379f446da6b commit 7389c8b3edbc6155e9a1ff3d0287b379f446da6b Author: Kristof Provost AuthorDate: 2022-05-07 14:01:13 +0000 Commit: Kristof Provost CommitDate: 2022-05-14 09:10:21 +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 f3184175a7cf..d342811bc96d 100644 --- a/sys/netinet/in_rss.c +++ b/sys/netinet/in_rss.c @@ -173,7 +173,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; @@ -224,7 +223,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) {