Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp91409pxj; Tue, 1 Jun 2021 16:03:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxCIDhTTy4n1ydGFAXPSFeKuYQZEn7L7R3oyHHXo/rhI7IXUax8VfYLXQO+0YqiK5y+VXib X-Received: by 2002:a50:eb47:: with SMTP id z7mr35515597edp.68.1622588594939; Tue, 01 Jun 2021 16:03:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622588594; cv=none; d=google.com; s=arc-20160816; b=lyOlCu+gu4CU+i7sjgg7c16CzsLaw3Vo1N+9G3M++aQKJ2EDjRUxdR9cvNidS6aWle dFqD2Fp1NWaqsCEFcvO7zmAYZGu6ksoeTmvz9eSsJIeZ2hHUch8jI+kZlNveJ/PYg8n9 oz1TIKtc8l4xoy5wzk8/Syv76wPmxcj9V1hg+ANxlrQX1Mbg9uqNfXRgopI+cZ65VCCc N3fPJYRJbL6i8lqlmfYJsy4luLAfQajbhd8JfP9hv2BFHa7deOrMJDqt+FLIwgxK0HK1 LeEAbXj5+qGVtfxXfSDGk6vMveEsyGgDuyMk4kI2zF8xB0fRMAX2PXxeSFPAWmkn/lyP cIjQ== 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=+RfEZUfKqAd6vhXjQm+Wd0Mj5fk/rXu9iQPojcWv3WE=; b=PseP0TsCLI+8wl4X/DJF13rm6JGMinj2Doew8gJtCSFqxI/hGJP+l7UEIF1nc149yL 8xrkhocsbsFSmXdoJgZ+8KzdXh+MEfa6YTFggLABU9oZwkkEOX2IYCNZsr6Jt+mhfO3x nkRfb5GuXgekfck7p6QLcpjKNCt5iGxj9BuV/1nuTNw2ofsczTBfxJBJe+xj0imTOeYl /kstep4Yv2btFOrn7+03kDVUUO+aXpp3nzLtmevd1m0CxPT0/tIp2ZxAO8cLz01NQGWg 5r0Z6yntQavoQzo4d9+ppvkS8NUfvd+e4dAwAhIIWqD5TguJliLjcrReLFvShU4wum1T Ibag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OOJT8aYM; 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 h14si435085edj.319.2021.06.01.16.02.51; Tue, 01 Jun 2021 16:03:14 -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=OOJT8aYM; 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 S235160AbhFAXBz (ORCPT + 99 others); Tue, 1 Jun 2021 19:01:55 -0400 Received: from mail.kernel.org ([198.145.29.99]:40936 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235040AbhFAXBp (ORCPT ); Tue, 1 Jun 2021 19:01:45 -0400 Received: by mail.kernel.org (Postfix) with ESMTPS id 814A5613CE; Tue, 1 Jun 2021 23:00:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1622588403; bh=OqGPkzz/q3IdeDGGfpXB0hBPjlvI7VdxcI004GqH/tM=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=OOJT8aYMlDV3TqYcQHOf14/IoWcxAZhfAX6YejGdRJ0h3eNCzBf0C0IcOHIYaAfvs ardPKK9TPo5N6yzrbEdUerp/R8FgqQq8xNI98XgtDT0sPLvKuTpJpq+9ktL88raxBK XourpPd1zcvC+Usv9RQRvP7vhAyau+cYt8TGfOOd4Jp2a8Y10mTG9eQEczhg/CJaak 2LqVVkKovUWsbqlvb807pyHMwoOVT97VaxRB8I/A7M3kHPg7A9UQxVl4nJv+c7Q/S3 EZWi3YWSOYVQRTaJKybZVwz3NCL9SXOhdt1RoTZRrdPY2DxfmJjIVsS9GcSbZ0GmgG f9SiRtK+ogl/A== 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 76A7260BFB; Tue, 1 Jun 2021 23:00:03 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] NFC: nci: Remove redundant assignment to len From: patchwork-bot+netdevbpf@kernel.org Message-Id: <162258840347.25475.11870620814207718768.git-patchwork-notify@kernel.org> Date: Tue, 01 Jun 2021 23:00:03 +0000 References: <1622540990-102660-1-git-send-email-yang.lee@linux.alibaba.com> In-Reply-To: <1622540990-102660-1-git-send-email-yang.lee@linux.alibaba.com> To: Yang Li Cc: krzysztof.kozlowski@canonical.com, davem@davemloft.net, kuba@kernel.org, nathan@kernel.org, ndesaulniers@google.com, linux-nfc@lists.01.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, clang-built-linux@googlegroups.com 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, 1 Jun 2021 17:49:50 +0800 you wrote: > Variable 'len' is set to conn_info->max_pkt_payload_len 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. > > Clean up the following clang-analyzer warning: > > net/nfc/nci/hci.c:164:3: warning: Value stored to 'len' is never read > [clang-analyzer-deadcode.DeadStores] > > [...] Here is the summary with links: - NFC: nci: Remove redundant assignment to len https://git.kernel.org/netdev/net-next/c/7cf85f8caa04 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html