Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp679431rdb; Thu, 8 Feb 2024 19:12:53 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCX9T8gu2ERYFoB2/mV/l1T2JQrpY/JYrlDNj9L30xbA85wub+ftv1tMXqwYgVxPbEgzHk4JLAUK8MvLB1Jbx95eJdVebSLiJd656EGK/g== X-Google-Smtp-Source: AGHT+IFpAExwQQL+wmHeDS58Lqxy/2tHtqyzSmZGI40eA1oMQBm9uS9FuSaD3726vBfBZUt/u4+q X-Received: by 2002:a17:906:1355:b0:a38:a44f:d6df with SMTP id x21-20020a170906135500b00a38a44fd6dfmr161573ejb.0.1707448373567; Thu, 08 Feb 2024 19:12:53 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707448373; cv=pass; d=google.com; s=arc-20160816; b=rOPA75Yg51TAlKFlBr/ke5YB2SdMzaY5ZcxnzdtP6v7rxCAOC6+zG+biYYgMizIXDp qVgVX/CgEpCZR7FTTDNC0F+7DKyFuVRj29Tp7MBXOJFy6VuexNNU8riF8iCKAnADZ00C vtjGw2PrloIEDfyRhE42ST/5CVcPujRmEoRY+s9aCirbbCamXG7/MDKf09+QTBE9qCrz eocaMfbvusCKFLo3Y+uzsVHe2rq4ybfx2qngt7BA0SenRd6eqjMfy/0qXQj4VbRxQmX1 lKgmjPvBzSQMK0/8jE6Vcy62gGwiOfuyOGqyWGOR6AADWk2KK2N1zhUAkvc8TYDZRMRZ LUdA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:date:message-id:from:subject :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=nDfOTedIub0Txt4VD8plotJIosfiTf40Tl7w2fGBpA8=; fh=vp+HJLtCzZl3P8kq0iU9RbDKk6tVqfd6oseaJfZ5crw=; b=UMDpSJsLJuEJodjlWkJQrdpt6RMhqLpsRlLLwJVEWXe36aRu1cEVOLSY1MfTos/i0Q 2GL7G0oVjFC728JkBFV4faDZv5piVVRAF5ejhHEMY1gkKxcNTWlmRpr63wIvUvxd2v7r 8WXN1yqt1Z+5n37ChqlOizvZbj5bvdI35XL5TxgYggx2xVUHa5UxK/ji1t4ZTxdthE2J fDRSqGAmCo82DIPtlmD3S20HexKZeHtJ0PYbndbTVa+NSICIcsEF1R6GJlMEHuYGOGrV bQjEKGlYM3potZQI5O0Y8nLIQJm6RPQfzbOgBysBxmh+4gkVYSAxWKDZmABTupXW1fR+ J9Jw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lQh1FNhJ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-58964-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58964-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=2; AJvYcCUEY0V35af7C1+v8zSpqCmTlqgh0unBEWHuaDytwyeYEpk22SBa8uG/HepttKLsqDCLXLULcrP36o+35gAX14Y0RJue5o123wuFZoA3CQ== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id g24-20020a170906395800b00a3164d2591esi331182eje.719.2024.02.08.19.12.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 19:12:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-58964-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lQh1FNhJ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-58964-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58964-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 93EBB1F2961C for ; Fri, 9 Feb 2024 03:11:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F16FEF510; Fri, 9 Feb 2024 03:11:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="lQh1FNhJ" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 034574C92; Fri, 9 Feb 2024 03:11:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707448269; cv=none; b=RVVD4MTLxU0nGVmz43qa3q/4dJIVOLxZfBe+YVjnflVb9mjOGzVfxe7M6u5mfyFfxzdYify02GfwJLMiUF/+yHgriDRx9GTnE9IbpLQSatyJ0X9j2mEHKjvO2wGgxi7TCfSitdMA7VZ967RgnEEN+r+nMrOPlUTp3cR/nixHS0s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707448269; c=relaxed/simple; bh=FUmi3UXZdl0m8BCeA4JszAk2qUkSpIO4EAqIdRWeN+c=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=fpwSyOFMFiFF7HNIYIJEMuLYloPz/4zmEk+k6pKQ8eY+omAW6IVJs1Wc2eFOBZ4uHwwqg3WGvnKt8yBlMblkdhOCLsulGH1sYHf8T0a44G/DChK6GZwp9DI5/MupUM8X1nq4rap1cPaWLtnGJsjxWYlqQCJqi07IOj7NV/gHDZ4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=lQh1FNhJ; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 83134C4166B; Fri, 9 Feb 2024 03:11:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707448268; bh=FUmi3UXZdl0m8BCeA4JszAk2qUkSpIO4EAqIdRWeN+c=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=lQh1FNhJnbthcpvsB5Ez3ycypln3bV/qMo98iJOhLXiQxFM9SOXVMBA9D950FI1ES SyRgUAgqErUXcMAABfFzimthwYWTcqwqI7qVPMCIfO6G3Umz6Ey8T7JickLLUh0prS nqo2TbYhEDxXuWgvgrwW86tTv5ejXix9d7Y/zDV9KQGeTaqZU5v5gDE8lXSmU4yOJt wbS7PbIq0/euR7meqcaK0jZ21z7rF3z69NYd3u9shyhjl3sUpRJ9wZ5VKa6bijIiVR W/YDhJqb7AipUbsuNniZ03MI+wE1H0chWLhlD5o897uFdRImWaj5Oly26rN6qIaC/a 5MPyORgfedzgg== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 708B8D8C96E; Fri, 9 Feb 2024 03:11:08 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH][next] netxen_nic: remove redundant assignment to variable capability From: patchwork-bot+netdevbpf@kernel.org Message-Id: <170744826845.23533.8151257630099768804.git-patchwork-notify@kernel.org> Date: Fri, 09 Feb 2024 03:11:08 +0000 References: <20240206115049.1879389-1-colin.i.king@gmail.com> In-Reply-To: <20240206115049.1879389-1-colin.i.king@gmail.com> To: Colin Ian King Cc: manishc@marvell.com, rahulv@marvell.com, GR-Linux-NIC-Dev@marvell.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Tue, 6 Feb 2024 11:50:49 +0000 you wrote: > The variable capability is being assigned a value that is never > read and is being re-assigned later. The assignment is redundant and > can be removed. Also remove empty line before assignment to capability. > > Cleans up clang scan build warning: > drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c:1189:2: warning: > Value stored to 'capability' is never read [deadcode.DeadStores] > > [...] Here is the summary with links: - [next] netxen_nic: remove redundant assignment to variable capability https://git.kernel.org/netdev/net-next/c/a6c15d7ff29c You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html