Received: by 2002:a05:7412:2a8a:b0:fc:a2b0:25d7 with SMTP id u10csp358410rdh; Wed, 7 Feb 2024 06:56:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IFX5YD0X3bHedFPOroJ4krEMK1Pkl+YifGnb0d1KDWPodZ2riEwdb1pcnEHyG8RSTkH9qgS X-Received: by 2002:a05:6808:7da:b0:3bf:daf1:48bb with SMTP id f26-20020a05680807da00b003bfdaf148bbmr5980419oij.29.1707317817248; Wed, 07 Feb 2024 06:56:57 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707317817; cv=pass; d=google.com; s=arc-20160816; b=xjD2+GlZXlg9Nezz1yRiYDtnPp6i5tCj+Z0dDLioVh6bdqPwdBKXfIBoIumj7uCjcy O1vJ4ygZvBjj9WQASQfVtcav6ri4YBY1jnMGdHIXOvkl99NPqK1eNTg0MgUpU2XjqZ+z CBzQG3dqPzgs1W5kPBpwFx3nWgdhMzLuGe9yX1hqbYJC5/NRsjk8l23RDUxGQTxRhEB0 a6bbphWOKy0ldBa3d/lU18/gB/cTt01b+GgUkk9JcbyGpzYZa/9UzGVF9lPt6akdMChB 545KTd/w9ynuA66T7te0tRtfCofF9+yhBPYGx7RFAQTKUoag3GPnUMtN2vtGTw4yVo4z SwyA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:message-id:in-reply-to:date:references:subject:cc:to :from:dkim-signature; bh=wohSP/o395AqmnspsciLRSV0QKAIVkChCcKAi+g9bZc=; fh=rRER3BqylO73mRviG/QacIys+PWT/axs/oBFEHGY+4U=; b=kjMpD3kCvoeuKaVYaG3Ps0TVQwlVZm05drolW8J5kCliEAK0wW7IPAwhnNT58JPflI 36VMJ6Coy7MbMTKd862Q+fo01855RmgwZmK3t7TstW8G/++O2PAxPks+w/1aAfza1FRc 3MvG/AmESRDvYQC2jHeh+fYr1tHU4zJbbE5fARp6NgmWCfzTSTAUAQ7pLld8OOkyrgFV ZKCS2mkiQ5MkDMDpnxxqjvfMgd4bA4l3c96nszr7vAVxoO2ajSAu0ag87l891WCT5XfM 9CR9+qfKPYmjmYKdBj/hyXgZF9f3S68I5EqcCq3vAq6jO1yLdBs2ItersAgr7VXGc1Zl 0gzA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EfZIOFsb; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-3290-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-3290-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; AJvYcCXVHDgHJ/dGfJjX7Cq6uDlxVzdcSxFduJv1fYD2LcRuxa55MNjt4T4Yg3xwSv4nRwMQL+7z6QqGF+f5HrYT4A+eKOM7ct7CDeD92Sn2JQ== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id p14-20020a05622a13ce00b0042a87d0cfa7si1290210qtk.159.2024.02.07.06.56.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 06:56:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-3290-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EfZIOFsb; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-3290-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-3290-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id F223B1C231E9 for ; Wed, 7 Feb 2024 14:56:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B17FE7E77C; Wed, 7 Feb 2024 14:56:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="EfZIOFsb" X-Original-To: linux-wireless@vger.kernel.org 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 850C776C8D; Wed, 7 Feb 2024 14:56:25 +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=1707317785; cv=none; b=PTfr2pngVnP/WopzmjGKS+ZETKR/fNJqFl53x2/y7myqip6SgaOalyPLX+kxs2ae+hRimt6l50cUv5fOPJphE7nSw22WzqBYHnOi+V14OFG1XnMR6yOEXygJia3bNKa/3QzzSz4m1WRwm1dLJWC1IkZYGWzI8zjZaBY+XoFBjZQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707317785; c=relaxed/simple; bh=nCxQ8fGvuEcmb7qfNQBjMnRhra6lyUgdE8qqI+GeNOE=; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID: MIME-Version:Content-Type; b=XxaG9KRu7idb+5wKqwtPHlcKMh6j47OA8IPhL3dGcc3NGHi+j9PKlJgj05cHiAu2Waks9OLlSa1uS36lkiAzZm2S70F79ty1Ch++5XSIwxmx6Ii3Is2Uey4q74gslf57c7aOPpTZ9HL0j5XRlq2+E47WN8FqUyHvV8Z8/OeKtkY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=EfZIOFsb; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2521EC433C7; Wed, 7 Feb 2024 14:56:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707317784; bh=nCxQ8fGvuEcmb7qfNQBjMnRhra6lyUgdE8qqI+GeNOE=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=EfZIOFsbNQM3dkm04/Qj0EZ243NsK9ajRBm2H+sB5OzsyUN3vEQGbDwa9uZSqeTEE 5lcSSmrbC1fbtfZPkKSWg/wBOGX6FpSUT8bQuVjHFV504oi1/pOInXJgvi1r6CxC2+ pyMsS4DAJ6599icKOl/tyHmpN3d1F0hHFSinMRK1oSoXzhg6KZB3YyjfnQC3oxqCWk oRD2sL03j4bxIvU1rtzlXwbY2Vpw523rOqsLdVCICdyyKlfSVk4tNp80EvfqlAOtNp d7tZMtmpWdgAGmHo+jo+2G//1pnIfsHzLQdUjIynAJOYoB7aavvW3fi4GQsPcqPez1 WiL4bNo+KjxaQ== From: Kalle Valo To: "Colin King (gmail)" Cc: Felix Fietkau , Lorenzo Bianconi , Ryder Lee , Shayne Chen , Sean Wang , Matthias Brugger , AngeloGioacchino Del Regno , linux-wireless@vger.kernel.org, linux-mediatek@lists.infradead.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH][next] mt76: Remove redundant assignment to variable tidno References: <20240207131113.2450297-1-colin.i.king@gmail.com> <87il30h03n.fsf@kernel.org> <13e2f96c-2434-4266-8a5e-25b267d1fb0e@gmail.com> Date: Wed, 07 Feb 2024 16:56:20 +0200 In-Reply-To: <13e2f96c-2434-4266-8a5e-25b267d1fb0e@gmail.com> (Colin King's message of "Wed, 7 Feb 2024 14:53:51 +0000") Message-ID: <87wmrgpbl7.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain "Colin King (gmail)" writes: > On 07/02/2024 13:31, Kalle Valo wrote: >> Colin Ian King writes: >> >>> The variable tidno is being assigned a value that is not being read >>> and is being re-assigned a new value a few statements later. >>> The assignment is redundant and can be removed. >>> >>> Cleans up clang scan warning: >>> drivers/net/wireless/mediatek/mt76/agg-rx.c:125:5: warning: Value stored >>> to 'tidno' during its initialization is never read [deadcode.DeadStores] >>> >>> Signed-off-by: Colin Ian King >> "wifi:" missing from title. >> > does this require a V2? Up to Felix, my guess is that he can add it during commit. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches