Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp4857541pxy; Tue, 27 Apr 2021 14:24:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxUSg+e799PBkK3030od/OgRnUYzG95Tb3RX8VI7q0mxw/G0RLUFxDdF3AV2ztxw3TWnyf4 X-Received: by 2002:a17:902:527:b029:ed:197a:455 with SMTP id 36-20020a1709020527b02900ed197a0455mr15546782plf.75.1619558648646; Tue, 27 Apr 2021 14:24:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619558648; cv=none; d=google.com; s=arc-20160816; b=VwzMzdJIN+YyowwawiwWRCk21zqoz8lQlPq1zccyU/GAUm+MWnkR0wJS0r5wAj+GHK PD0SlcOcpj08LDeGrvbpBFWykqYA5sOnjDE5Z+6q2HKUiLb+sBKTWiKWwwsfTiBNacvq Z/yXst5ZPzG4Z3P/ieRpzYqurH4VldqyxgOik0w/SH1ICF+9jOAh55VfdPCQv9iagIjY dDSFHSC/tBkrEssp04D0+yLPCvjtf1GimgTLhC2omRiuKe6gZGIN7yi5wM+35fkHbogf fgMYxqoJim9y8xvs6PgkHHsURZOdYBTV5yNKmZdO4oFeXDv5gWg3MITxsui+QUcLPlYZ 7s8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=GtsZ0NbjFy9A8OoguVX9b6rZFErxvrPEWGVLMoDs7fs=; b=mbJvdVb62ONMD02v6dUo+SVnDId+Qvx0IrGSVq252YJvPvqg3q6VL3ohSYzC0oIfke z1BzPb0T0xj1CbzF7jNTIkdjG+uzMZNcvlc7f9hV06j7mF5SPnmKYhqPAhbt7fImHqKo WsGlwedz9STRCl6eeK993eepEKYwOYUSVRUgWLn7sPAp/F2Oqw3Qw/gHLsgwMOVdJZnY zf41IqOl+e/56iGniFvTeE8NJx5ACIO5KueP070+1Hznz4VNdNpj2A+ilNQncYlDqtRk lvqUUC2sC0KhG6fUJZdOJ0AS/fFo7iwREN8ie2b2xKXByp+8NcB8ZCkE8KHGpRtE/hiN AIvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mBMWJX+8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r9si6165639pjl.148.2021.04.27.14.23.26; Tue, 27 Apr 2021 14:24:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mBMWJX+8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239286AbhD0VXj (ORCPT + 99 others); Tue, 27 Apr 2021 17:23:39 -0400 Received: from mail.kernel.org ([198.145.29.99]:48746 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236994AbhD0VXb (ORCPT ); Tue, 27 Apr 2021 17:23:31 -0400 Received: by mail.kernel.org (Postfix) with ESMTPS id 95B5461403; Tue, 27 Apr 2021 21:22:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1619558567; bh=yi9fitUjboxBTm5645ZOiOa07p9YKZlOZULR6s5CH/o=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=mBMWJX+8WVBAgJ7shIZodBDGVwZsa2xfN2Fg0YjS+SazMofLIAQwz0fGwFHo3OEsz cSKRFmlDjeS8rD7W9RbSnmWeC/Rby5BI5VGqHp3DCqN98ipC52LoeOk0n+G1ijdgxU KAeoqpyflTlvjFZtfCcRSn7S77dJjskLt/6+mrZQu6KILwZ8feTFvz9ZQks1dEs2jc /pqQV1jvy1ySF0HmrcDTn9VifmgBJTzGAqFz3bC+vW7KhVxwedrUl4AM/bR+Xa3+db mUdpc7799ShR6C5vwh8zM5Qw53SSGKYvfcr6F3TPL1CtMilexaYCUZlcNVCVOmzlF5 nIxePQ1wUdlgg== Received: from pdx-korg-docbuild-2.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by pdx-korg-docbuild-2.ci.codeaurora.org (Postfix) with ESMTP id 8DE5460A24; Tue, 27 Apr 2021 21:22:47 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] net/smc: Remove redundant assignment to rc From: patchwork-bot+netdevbpf@kernel.org Message-Id: <161955856757.21098.4108992296506992502.git-patchwork-notify@kernel.org> Date: Tue, 27 Apr 2021 21:22:47 +0000 References: <1619519542-62846-1-git-send-email-jiapeng.chong@linux.alibaba.com> In-Reply-To: <1619519542-62846-1-git-send-email-jiapeng.chong@linux.alibaba.com> To: Jiapeng Chong Cc: kgraul@linux.ibm.com, davem@davemloft.net, kuba@kernel.org, linux-s390@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello: This patch was applied to netdev/net-next.git (refs/heads/master): On Tue, 27 Apr 2021 18:32:22 +0800 you wrote: > Variable rc is set to zero but this value is never read as it is > overwritten with a new value later on, hence it is a redundant > assignment and can be removed. > > Cleans up the following clang-analyzer warning: > > net/smc/af_smc.c:1079:3: warning: Value stored to 'rc' is never read > [clang-analyzer-deadcode.DeadStores]. > > [...] Here is the summary with links: - net/smc: Remove redundant assignment to rc https://git.kernel.org/netdev/net-next/c/6fd6c483e7ab You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html