Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp3915529pxy; Mon, 26 Apr 2021 12:56:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxnqOzXS1crCW95xlaFqI0r2o9oHfxN+3F93uPtC9cX/EFMj1MtcS6PRc0t0wcULFZ4fxcG X-Received: by 2002:a62:ee09:0:b029:247:56aa:dfa6 with SMTP id e9-20020a62ee090000b029024756aadfa6mr19326140pfi.69.1619466983838; Mon, 26 Apr 2021 12:56:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619466983; cv=none; d=google.com; s=arc-20160816; b=wfd5xj8/K1uCuq777/K52rw6RhNF6NsXsS3t3FOgfXnmcIRWUAqRBVEWLXIOEBBh3f nYjZqb8XAlxBvXwLiX7LkLcyn9aqJoWxVQ1ykFOOosCYuZpcqScn2NP/tgthApogvAz+ OoqEOxJb5WzlkBTay3lugMXFEG1eU0ji+FSk+WCoq9IajvFMM9Sh+17CIbgmSXpxx6KP WXkXyw2NNCENsnwMq0dI2CMz/8a8EmLbhoL11hsesS8ns2TTQcY9fFSl3gTYcIn51mks W4Aq69H4YbKsZyAe29WXcBJqNOJBU9MN9+gmAwX1DJjHYpGLQxaqf6BJn894+yOt5Qme LYlg== 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=3RnRuCuboypmz9tne51HUsDlFq2sh+jY+ajJ2DtFThs=; b=snIExgq+debehaMhVpdOfjwirl9xUaGEsCCv6BV3o9FLC11uQ1Fo9K1yp2Ak52ngjz OXdfN9MZALUYtM1yclwP+Xn0EloOpMGu1Nf57I01wwsN+hm56ZRSRDvS+6ojalKRpWGl SwZ3Kn0PQRAT9ip86Uk1BBQUppjpe1l+E7hQRSpe4fkQX/avy/Nz1EiQkRTjC18FsUk9 f0yOrm8yY4R7PJikhoC3uleDhnjNtp43GXYJ2NmlY/LettEYrftXEWkrjRKBq0wdQSoK 3oDwgAhmXC7gE81Lb+nYqWsh/Yuy8vis5/wNKKBMsuZCHcIKBHnOc3F3OVZwu62xpTUB g/CQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kVWV3dpc; 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 d3si23167323pgn.457.2021.04.26.12.56.10; Mon, 26 Apr 2021 12:56:23 -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=kVWV3dpc; 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 S241701AbhDZTzo (ORCPT + 99 others); Mon, 26 Apr 2021 15:55:44 -0400 Received: from mail.kernel.org ([198.145.29.99]:41742 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242193AbhDZTy3 (ORCPT ); Mon, 26 Apr 2021 15:54:29 -0400 Received: by mail.kernel.org (Postfix) with ESMTPS id 1885D61396; Mon, 26 Apr 2021 19:53:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1619466827; bh=oVk3Y5F3lygGo8zbyIwBiZIqs6TYdRnjB/NaxTXhWBg=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=kVWV3dpcTi7HY4AB1gkWFSMorpbU+ogS0xWBJRHOBLi1RhEobihH2BPqEmZKdmV2D pt68/3yT4yc5ZzGWfHZHke5vp478bGRsXQw0YDAJRB58ZgABCPPKmF6/2xigjJ0/tZ VjnOL1ux7PPcWMNs6GyndKvfZTJ01FMU2AecIyn/tPh9VD8TmPb52bujKWUVPLnWjs wxfsfXwh9KGx9sFvPvHaNDekyozdScdVDymFhx4SUHUG/vnVrjrAZVdvl+JkboO23R cWX93I6AJz0Jh6N5kyOe0KTHrqnEx1mtVJoE1w/YhU0/vVzyY5tJ7QBb6n65qKHDfq VUY9vIWfXTV7g== 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 0C86360A09; Mon, 26 Apr 2021 19:53:47 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] pcnet32: Remove redundant variable prev_link and curr_link From: patchwork-bot+netdevbpf@kernel.org Message-Id: <161946682704.17823.13920971872017005914.git-patchwork-notify@kernel.org> Date: Mon, 26 Apr 2021 19:53:47 +0000 References: <1619346918-49035-1-git-send-email-jiapeng.chong@linux.alibaba.com> In-Reply-To: <1619346918-49035-1-git-send-email-jiapeng.chong@linux.alibaba.com> To: Jiapeng Chong Cc: pcnet32@frontier.com, davem@davemloft.net, kuba@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 Sun, 25 Apr 2021 18:35:18 +0800 you wrote: > Variable prev_link and curr_link is being assigned a value from a > calculation however the variable is never read, so this redundant > variable can be removed. > > Cleans up the following clang-analyzer warning: > > drivers/net/ethernet/amd/pcnet32.c:2857:4: warning: Value stored to > 'prev_link' is never read [clang-analyzer-deadcode.DeadStores]. > > [...] Here is the summary with links: - pcnet32: Remove redundant variable prev_link and curr_link https://git.kernel.org/netdev/net-next/c/930d2d619d0a You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html