Received: by 2002:a05:7412:2a8a:b0:fc:a2b0:25d7 with SMTP id u10csp357876rdh; Wed, 7 Feb 2024 06:55:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IHduirLPtDWp4KWwjSsqAmYQ/m9F70Y9N8I1k5EnRcDcUucSsjltZOCseGMbd491v1NA2yG X-Received: by 2002:a2e:7d02:0:b0:2d0:a037:b93d with SMTP id y2-20020a2e7d02000000b002d0a037b93dmr4591680ljc.41.1707317757390; Wed, 07 Feb 2024 06:55:57 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707317757; cv=pass; d=google.com; s=arc-20160816; b=KAauoVS6yxj3Vx2bVQoocjwqu/np+4P29RxGcAJxzve7mU3QSOkIalJsVwYURqu4Hx aPy+2rjI7by5SjXqfmwAlGWVN/rn8WwHNgV3G6b0N2TVzCR5oSTiW2CwdacdGJrfGx5x 2ChDjG7TiuZm01CK8xmT3YC0WihXJhjouGEEy1wgemg6DQ/wkmTyO0i496PkAx7dClW+ gexu0Pg7In6TnMc7fp5GshQRXonPQiai9x7SKziN/Iyva5ZZnRJCu4tgchxjwZ6ufI4j LETDfbcM68UahDqBDZU4pYKMvflO/RlDLXGiFd5niOx4ks3WnOWoHGC/iqG3lb+XBMnq 5DQA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=CeaVh/lnio4gc/XMvIeYWIMuMXXG24LyCbi+Ce3p0Z4=; fh=BvlSHoDXZ/3vkihaRMA7CxKmX5lW/Og6Ojdx7u0kVBM=; b=AsGhd7lHeLsnNSlOvNweTECuAEyrRE0Abitm1Vm9nNCZUO60pmXad1ad3R3HBi0+Nc 18CtWBQBiqwPPC6pcMTKAaUU1DXhAjB+exV61StL26l5jbz4hsPL3XqADUvxQ25JygT4 9bKqsuL9clokcGgY4SrgFTFAqtleJBEMOPE1N4IXlWrY4WI3NKGAogWSEPk2+YTo3M3N lYSi3ZBArxMnjyvdIlIp6fxCZMlWbP/LEeE0rquFvNBrnykNjs7+Qz/E53ThL+ZpNbfz Ff0x0LULGWO1bcjiKbQDcyyHQQgVq6YWF6KncfCwTmFb25ehANJ9MPndbezxaZy25hph qc8g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=OJ4mIGle; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-wireless+bounces-3289-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-3289-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com X-Forwarded-Encrypted: i=2; AJvYcCXL0kOuzgnMpWPYEDIpTelcdZdseae5TQWX4RbJE8P1GyWafGKv2K5oauMTor96ihibwc24kS0YRFHLraUuVSU+5uHxCgNvCX2UBlNQWQ== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id x63-20020a50bac5000000b00560a65885ddsi938062ede.245.2024.02.07.06.55.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 06:55:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-3289-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=@gmail.com header.s=20230601 header.b=OJ4mIGle; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-wireless+bounces-3289-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-3289-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 1DA4E1F2A602 for ; Wed, 7 Feb 2024 14:55:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 78D077F7DE; Wed, 7 Feb 2024 14:53:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="OJ4mIGle" X-Original-To: linux-wireless@vger.kernel.org Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C2ED07E77F; Wed, 7 Feb 2024 14:53:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707317637; cv=none; b=VRTPCCt8TjyDIc+apjBjw3aaR0wkbvhKjC8WL/I/bdkfWw+fG/RCRakiVjQpNzU/UDcRqkIPEuIR7fKuBFkncZAhUzxOvgFMTmIuMozm2x25uXKQsqgj6e8pIH939w0bgikVtkNbz3GLuI/PUlhDzILfComtbaLVlq7jwUK/u2A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707317637; c=relaxed/simple; bh=KH4aIouyuWdasHE18nyazskEQVAdrjiFumKnKbkPI6A=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=q3xvK8aumeotOMr5Q8nE2IHyhPhj8bmOzz9WkghA7e0QTiJyzVlNghIjFoZgS6IJ/GP1Y+BMbJPHrjvhdvKLEahvv8WHxh6octziGL1LCABYeC/jbMlf16JAB5xSuu+EG3BF7kFXGJpbm7hOKY834xAp32UuVr3LhBdxpGZeABM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=OJ4mIGle; arc=none smtp.client-ip=209.85.128.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-40fe2ed8746so6134075e9.3; Wed, 07 Feb 2024 06:53:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707317634; x=1707922434; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=CeaVh/lnio4gc/XMvIeYWIMuMXXG24LyCbi+Ce3p0Z4=; b=OJ4mIGleaOsBeugTXqLWNKF3h/WCkgRYChieUYtyPIS8nNbjGg3II2d+aNI+rX4YHN m2hGadX8KBE3yV/mdEDKTJz9bcFmLqOq92T9xyDuZ7qasLmrHf1ivyDbt1+mAWUak4qz 65oCHv6kKQaVfoWYFa/s2wb7Li2gCKwyBsQJ0S4WvA6vFwXhUMSllDft4Ej9NRWSb3Dl U8EiT2x2mKRNdTlgCmu36QjOPxURr+XiWDQ+1Vfq271jbyjC5Ef1WL2QABbvoHVoWyQ1 WMl6ZJqbcsEjuUx+eljZXdT6QIT/Lnlks6kKVFBBNAVV74oIfqobNjsUhBYAu+doQt6f irxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707317634; x=1707922434; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=CeaVh/lnio4gc/XMvIeYWIMuMXXG24LyCbi+Ce3p0Z4=; b=rK5RMea63R2Fq6aG62fl0fmf6oybKpg5d5YFsIxzgcL8qm9bCTavgOZfs3C1HeGKb8 gh2jn9WU5UmR1WkB9BeSkA3wrGjsP1jwVU0ZX5kKEYP/VgEGi9xhfDVDJ69wtwfpXuoX pErEl5nODLgUiQ3d7R4p06192QiBpdqHnMdHp6in3ot1/BdmYPoiHDK5IUfHM28F79PK ovObbhK2x3cHn07B7IykpU2QSkSLj44RGvIuEneYREaKf+NW78fKKMwS/fsWc+QFKAYG tj9Nhu5GS4bDdUq2LUHiGSdEM1iybypRIC8UYFeVr5YCPEhbuC40Mm4AH+O0btsUx0B3 MhyA== X-Gm-Message-State: AOJu0Yy9SxskviLvlJKm7vGCfGuVj1vPjwp9tptjchqwY7MPiJbdsgDa rOgrJXbTjv6G0Wj1iWAuCLqY9rkXCgcvf8Qj6dywPyJ4mUDOMrid X-Received: by 2002:a5d:4750:0:b0:33b:274e:af5 with SMTP id o16-20020a5d4750000000b0033b274e0af5mr4000326wrs.60.1707317633607; Wed, 07 Feb 2024 06:53:53 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCUwEZeTZpLOUCuBBjOuuCPiaDg4fx3wo4eteNjPkY7pPmbXE257RElKiqFaWqGh19r6WiTQa3bHalYEHnoIvIiGYfD/RlDE62gzy4HyBq0t/x4K3RQpaUhnYf09YWrLx6+WybBjC7djl4Ib+nYT5ONxyYhEdYu3bOJh5et5C6WVjfJMtWAj8evl2hKsTx4BRcBc2hsWSHT5Nz3Unz4l909q6KADPQcUo9fAc/cK3cPXlODGHtbLODwrBEwyzhVChRUmlowGgB+e03KOH79Uit/1qDWiv3eEIa97//6SOtKUdeknV0whWZzJukADZYzZFz7525mcQb2gUoqtfuekjW2cRRlAv7IvIYw/RYbJ0OEdNNbwb8ftux/4GnuQm4YRZ5RKGhFE1OxioSy76oqqL1uhGH+XoI6+4MC9NZyg5x6aGuHsZAl+0MwGi6m+CxqlE+BdKOMyVBMaGF4kH09pQsCXuIS9tTx9YnXP3CmgGN1Oi4WW+1+LLQ== Received: from [192.168.0.101] (cpc154979-craw9-2-0-cust193.16-3.cable.virginm.net. [80.193.200.194]) by smtp.googlemail.com with ESMTPSA id d21-20020adfa415000000b0033b4fdea014sm1263624wra.92.2024.02.07.06.53.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 07 Feb 2024 06:53:53 -0800 (PST) Message-ID: <13e2f96c-2434-4266-8a5e-25b267d1fb0e@gmail.com> Date: Wed, 7 Feb 2024 14:53:51 +0000 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH][next] mt76: Remove redundant assignment to variable tidno Content-Language: en-US To: Kalle Valo 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 References: <20240207131113.2450297-1-colin.i.king@gmail.com> <87il30h03n.fsf@kernel.org> From: "Colin King (gmail)" In-Reply-To: <87il30h03n.fsf@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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?