Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1269105pxj; Wed, 19 May 2021 02:06:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzcckF/e449sb1gJwRoRC9wP+3VnpF2EocXfBi+dW5LLH1QkN8Cv9ZJ4EE0f3B/1tbKBKM4 X-Received: by 2002:a92:520e:: with SMTP id g14mr9865484ilb.218.1621415160776; Wed, 19 May 2021 02:06:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621415160; cv=none; d=google.com; s=arc-20160816; b=Afa4D8sEcE2i5nIS1J68h3A3ZQS6st081lczowWMrkbVlY5RXsEvq2vdKee+ntxX1u vHwAlb7SJXHoq88mRGD1KhX4YYaVt5Af5FCNxTrV9sByNY3TzkeMC11XRuey3xTzOPNC GaJb8n8pO4cqqIOApEOxiSR2LRCKJ6xcmc2DkZz6EPyRx0v9fQB61Nh/ohij9czNEetw IbCgCOUEKf4X1zmUBg4FnpJCmMU1Jh0PlUkwxWwo2nbRRSc3+ag+pKNOaTMMxfhq7crr xEgxpzo9yl6Wj0nrjno1IgWNCs93Q3dBJmiHKzbIdjQ4J+ldQWHWbBf5zRU7ox5bE8tQ BAnQ== 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=vogGjby/UtyGP7iRwHFMPCYisF3JL5Vj4j6/ye3kyI0=; b=sNbOoLdfUIYknpGKIfYUc8QyT4DoGSl+NHFrVubAo3h0byTnkzYg/bt2NNKXO/aDTo bdo7QiMi/dYy0AMSIMgX8h0HkcE6pIhUvGwFZFIYbecaSgviGseCmLhBzPYKRd6+9D80 T7pNxf2btYOIQM6BK0ltiKvKi8AsRrlTY9/FdosjZD8CJ9Ln518vVrzAC3DZA/aY0+m7 0hBZL8yXU3tuSfDGEc85mBXhtbfWV9L+rP5Du4Oi81zgWifguy4HS/3fT0TnvznQALsl st+BDkY9RT+cYVwrw248nYbLvRWJUzIxhXERV1b6ZN7/4c+SnFX/GSNwqAhXXE9AdJo8 PhLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=IErxXPMY; 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 j10si12919916ilk.31.2021.05.19.02.05.47; Wed, 19 May 2021 02:06:00 -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=IErxXPMY; 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 S1344402AbhEQXL3 (ORCPT + 99 others); Mon, 17 May 2021 19:11:29 -0400 Received: from mail.kernel.org ([198.145.29.99]:51920 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233727AbhEQXL2 (ORCPT ); Mon, 17 May 2021 19:11:28 -0400 Received: by mail.kernel.org (Postfix) with ESMTPS id 1DBA161263; Mon, 17 May 2021 23:10:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1621293011; bh=XJtsmJX7RSUFq2Gtih2GnCxhnnRYN6ksL5x+HGEIgcw=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=IErxXPMYTIGch1ZhWwbpE4pLZLF6yUVAByJxqrmjTS9/6Z/KVkQKZq0N/OBdgfXFu 3iswoEL5oSZGfIevF53RGFzfpWgeDuLGT4f9bcV7Sv8jVHO4r2DfjgNufr6AXg3Vpp qBXa+YCS6P8Qsp8O4fNv5IOXY6q2DNkt7h/om+rR9WhjUbqV1mVEn8gI4kJkie32Mj NLuuNHp0zn8W/LHYb0pLqYUQ8ZR56CrIwYbRWcOOjZxXaVOJLNH7bL9hgttU9nw7lO gNYRButQKsqeBzglD/kr0Q9uMnVp9oANpavoo+6mhaK3FvS44bp1cGe0IjlpH0cajp LqnRDtWZRInMQ== 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 11BD960A35; Mon, 17 May 2021 23:10:11 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] net/packet: Remove redundant assignment to ret From: patchwork-bot+netdevbpf@kernel.org Message-Id: <162129301106.23530.3271088943002259290.git-patchwork-notify@kernel.org> Date: Mon, 17 May 2021 23:10:11 +0000 References: <1621246525-65683-1-git-send-email-jiapeng.chong@linux.alibaba.com> In-Reply-To: <1621246525-65683-1-git-send-email-jiapeng.chong@linux.alibaba.com> To: Jiapeng Chong Cc: davem@davemloft.net, kuba@kernel.org, ast@kernel.org, daniel@iogearbox.net, andrii@kernel.org, kafai@fb.com, songliubraving@fb.com, yhs@fb.com, john.fastabend@gmail.com, kpsingh@kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, bpf@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 Mon, 17 May 2021 18:15:25 +0800 you wrote: > Variable ret is set to '0' or '-EBUSY', but this value is never read > as it is not used later on, hence it is a redundant assignment and > can be removed. > > Clean up the following clang-analyzer warning: > > net/packet/af_packet.c:3936:4: warning: Value stored to 'ret' is never > read [clang-analyzer-deadcode.DeadStores]. > > [...] Here is the summary with links: - net/packet: Remove redundant assignment to ret https://git.kernel.org/netdev/net-next/c/25c55b38d85b You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html