Received: by 2002:a05:7412:2a8a:b0:fc:a2b0:25d7 with SMTP id u10csp306139rdh; Wed, 7 Feb 2024 05:31:51 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWfEOs8uiXvVpM/rQb5qQkKifYjC/6gyyUokzVu5AHm4JaUoGeD80sHU5za5tIGgtuUQO6hSSo8lQcUeSgTKqhomkh8awn8RSG0P7kdNQ== X-Google-Smtp-Source: AGHT+IG4cOPE/IIYv1IOxn4Y4x05g7CxYzOEjWLSje4DmyCBGDqP+NhY4J7864wiWI1ZCC8wRTXp X-Received: by 2002:a17:902:bd8b:b0:1d9:5596:ffe8 with SMTP id q11-20020a170902bd8b00b001d95596ffe8mr4496945pls.66.1707312711303; Wed, 07 Feb 2024 05:31:51 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707312711; cv=pass; d=google.com; s=arc-20160816; b=msM7+adcD66bZnZLgpFGI+AKxV+Sjq9vk9HP3sE4FF72awqsPgvYubZxMckBnPRU1d 3eEj0gIVaTYo99BK9l+dh5UDP+vWTZOpFehSq4yohD2aapwM0Q9HmNsEjqRLTzCXLI6I t8KemJF70U+xQg/enznvhvNIxMEUkfjXM0UFkAiCz7uhsXcdPTzfQcrFPfJM39vgPcIW YRrEgBFI1noWcaVD/SGVNyT/W8HBoWE045c19D97cl6OOvCEKdMqkBR3O4WOuZ50LdvQ Oar46p9UC58CQXm4US6GctRTTbRiJIMdlXPbTH+xQVy1nh1I5VpxcpPjumbH14Simo4v v/qA== 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=zrLB4DfoJUMIJyEVWJU10TjwVwiLuOhN8KtRdWCdnRo=; fh=kKsqg8gXZwzlVnQAb/aoYlvhMoSPJCU0szpo/T05fQQ=; b=aS36V7DsZqVOWtEgkPyaScE5dtAB+JraXoWCl/G86TR47AO3DxQJi048ml3TVdFC+B 8/3k/olC30vU37Wawfph2rCZrabK2oX4Ik/IuqZe/vXOgV1kXs0S+/SLSHrpRrHFzdNP Jl4R4hG5/bmjO1jV15QBTUrwue20hOETMpQlEiJi+O4T8SLZjs3F+sRVdt8vdWbnN2T7 HgK2WbF7K8u3PqBJIOUAu2jPUONg80YnXGUhzgRIqxMTnG5qW2GIvVb9xMObvM/WzzV9 fn5QXYsJM1iyJnZ9BK0rddlvf3YBO43lOc3vngeRtEWUYc5Q81gwY0NdqLVepNlukZfJ 5fPA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bvd80gqt; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-3288-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-3288-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; AJvYcCXjQIAN9jjEzRoOsKtwo79zfY1jI9JLUBdvbS341+gNvubulDOJYPTUeOkPoRq8rBMIElws68NF7clRINvGn9oYw5hxYK8UTfNsZ5PSkw== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id e6-20020a170902744600b001d8a5c7a37fsi1594393plt.240.2024.02.07.05.31.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 05:31:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-3288-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bvd80gqt; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-3288-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-3288-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 1BDC2281EF6 for ; Wed, 7 Feb 2024 13:31:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6E47E76C93; Wed, 7 Feb 2024 13:31:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="bvd80gqt" 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 440BB2420B; Wed, 7 Feb 2024 13:31:44 +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=1707312705; cv=none; b=Yi+9jCUQR6b+x6CdnvOQUV1cLbj7+0LcjH+W7p+cnks58mcVI+/CqJev2si/vg/lvYg+4jSS4TwLSCWepYLlhuIJIaeFH7ossmuqW6GWGMiasb1Vdi0r+nTajS9im7givQ2g/S0LzKvikIOsrMEXRtnRrZisyeCIrftI56d/5Kg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707312705; c=relaxed/simple; bh=yVT8Ti21+Ydu/gLRV+nkvBy86ZVYjXvrfoQlsX0IikM=; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID: MIME-Version:Content-Type; b=iD6RrUwoiKP1nnkIyizdKlChzAs+LcFGhAnQxlY3C56HXbhZ3TzN0dNQFg2DsKCJ+NG6V+1JVK0hwefvRE9DYiaa+I9jfR0ZjsTVL3V98bQbK2fsSRcgEKb6sZXjtibLIMfM68vccgCXxjXTrumSqfefiTSJD/1/7vKhNzR5MdY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=bvd80gqt; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 59609C433F1; Wed, 7 Feb 2024 13:31:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707312704; bh=yVT8Ti21+Ydu/gLRV+nkvBy86ZVYjXvrfoQlsX0IikM=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=bvd80gqtnAh9QaQeLtwQi0Gum8Txp2Nm7vBIYqfhptcXJSzpjF39+JWSq3TntZzWl iIGntqDvme3lVamm5KOROKRNUDdFJJC8iz1/+AlslfMQEWWfw2GWzWqF4j8BERymAD Y2kePZ3YIhx14mSA2PKw5Bk1eW/HuqP3DY2pYNOVSPxW92J0UyjhTrs7jHBYLxarhN SCvR/HMfj8KhJli2M4BDXs4R4KK45qUn+QVAvbo7tfSZ8klwA31cI9LzwvcBa17617 IHYoNwEI6Ter56yajddED+zMlEuVFg5l08NN8W00WQXaFlOc/TYc6JnH8aX8GRrLGw 4AOWvcIUW+MlA== From: Kalle Valo To: Colin Ian King 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> Date: Wed, 07 Feb 2024 15:31:40 +0200 In-Reply-To: <20240207131113.2450297-1-colin.i.king@gmail.com> (Colin Ian King's message of "Wed, 7 Feb 2024 13:11:13 +0000") Message-ID: <87il30h03n.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 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. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches