Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1224984rbb; Mon, 26 Feb 2024 02:51:19 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWTefRwWDXWeCs4jQuky7q/1w3jnCTBOyqjzPxPoWU79rYH8Tux8LkDe6+5sLb+taAatnR12NPg3gD1ZWRUJKfbvmHlbSyFG8O6sCjdxw== X-Google-Smtp-Source: AGHT+IFMVznL6jZb+W5R/qaeo38ipPFrAWA2WP1UlX3kxvC/iOWyOoYEIwetrbspRw+67AlU7ZIK X-Received: by 2002:a17:906:4e90:b0:a3c:af7e:1660 with SMTP id v16-20020a1709064e9000b00a3caf7e1660mr4294743eju.22.1708944679348; Mon, 26 Feb 2024 02:51:19 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708944679; cv=pass; d=google.com; s=arc-20160816; b=zjy23H00VUUjf5FKZKYBHXnTYRif0+2q8yUTHGzw2O+5UvIDz2rTG9QP2l09CfH8Tu f7heQuK5CayGchUwOr67KsMsG9FH3YPDmttrJLe5If4MZbsvXv23Hf+mXKDIFNSkc2Lo G3RO9gNmKGcwKDsmjv0b7Iw0OK1GjSYj3m5NbYRXnN5+xyZsYyH2OW/WHjd5eM4l/rpi nw0mO9uwfACFTa9i6kLCoWZHnjxlPAcRyM4q59Ols4sZ8A52V7gk6No7gXxq6b6hb6PZ grzdIxlxxqs4KoBxKYQdZbe1W6k3RDEFoN/6wVGWhZrF9jz/8L7DcSFdqIaivGdVJSQb jrLQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=tYWYbEcL0LZiU1LAQRsUtVSe1ESaZH+8FD5tt71//JQ=; fh=k4DLZTTxpsnUj54QQRdEr1Vt7ajoQYNUojeTr66CoIk=; b=vKsUxSXfNqQYqWpXjtpZL/4OqE2nIqxI/ad1/celxuMSF3ZRwxXJtZusmpiGIdq910 sxUMtmxRTOcl5y9+ckFEtXbJE8l3Vd8MiTouBOGCF2nIf889zOQ+V+3mNY3/hIh7vKFp xaawyPguc/oRQultusDyfSrCmeyrwsczPQRpG3W1B4Ua2r8ncCLMtFgyZS3NR7HJ45+U 1XsnlzRArH6bFAjTNqaX6DdDQWfWONXjznoZEsxEenJuXA/VDxvu7fR92/YuJurT2XFl i+25qL6PBvD522sojYtjvRQ9mbaQOGVy9oagaQVKADDu6oA0m1o2dtbA2BPZYHIUaeZG W1xg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="YSM5//Dj"; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-81205-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81205-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id bk15-20020a170906b0cf00b00a3eefaec75fsi1973814ejb.76.2024.02.26.02.51.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 02:51:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-81205-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="YSM5//Dj"; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-81205-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81205-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.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 1E44C1F28DA6 for ; Mon, 26 Feb 2024 10:51:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 839B056468; Mon, 26 Feb 2024 10:45:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="YSM5//Dj" Received: from relay6-d.mail.gandi.net (relay6-d.mail.gandi.net [217.70.183.198]) (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 CDAC655E79; Mon, 26 Feb 2024 10:45:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.198 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708944308; cv=none; b=RGc+qEB3GrMZwccqwJEDUfuiHacIClL5YGV2+JWs6uiG7GxopEoVWWznDd6FpcqFCDmNRNnsUQ6wllJWWYiM+J15oiTEZVPLBEdSei9it7qBugKyqMPYiH+7Pqo5V4eAQ1nrBa5CuXhjCYZppXSVw6lUEl1n/6RwSsPHjXyZEPY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708944308; c=relaxed/simple; bh=5hRWP8w7u3GTMa9wrvVcIUEgllEBtm+WJ7H/wCNR8Mw=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=mb3Ecwc5naMKneDTHxQ99HDm64itFvCxLb895ppNS8baF4TT6z3bxP/+MkM4LUqiAY+q1ynKZ7M0hjzat8v+S/BTjfKUOmq5CpA0nYKRqoywHf5WyoUIAm9dhzx1pFKjSQpoZBZrzZabnEnjxv+QVznXaCOuwSHfGAiU8gePq5Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=YSM5//Dj; arc=none smtp.client-ip=217.70.183.198 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id D84DDC0003; Mon, 26 Feb 2024 10:45:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1708944305; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=tYWYbEcL0LZiU1LAQRsUtVSe1ESaZH+8FD5tt71//JQ=; b=YSM5//DjDEbFXDh9KyH1O/eN8heVsBdAQQZ0iqQtWj1AP0ldH9kdTgwddeTIXFmc9Ojksk /VTLysgF67xFxszfyivlSH/hdK0BCEPJ/vnDY7PAAiUhKiUq0hIt9ZoFQ23PcTF3papF57 nvH5JrYa8UiZz5DGiK5jjmEr3hpVZEzQA6JmVcmShsDDD4O/zaHaynjj2JZrhvo1u7qsPI 194ywQTXoyjqlT579aRYs2iiL3vw+N5lX5gDEaUf5k96GmFItPab69JcLC/d61JYlGwZ0p A2QoWIthMxKLztvhbWVtBlAgnMammBIabSzqGmK3OlqhQ4z6D8Yj7YaIyo66og== From: Miquel Raynal To: Colin Ian King , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , linux-mtd@lists.infradead.org Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH][next] mtd: rawnand: remove redundant assignment to variable bbtblocks Date: Mon, 26 Feb 2024 11:45:04 +0100 Message-Id: <20240226104504.490157-1-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240209174019.3933233-1-colin.i.king@gmail.com> References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-linux-mtd-patch-notification: thanks X-linux-mtd-patch-commit: b'9367043f1c02a1e4bc3ee50df2772c7c557ce617' Content-Transfer-Encoding: 8bit X-GND-Sasl: miquel.raynal@bootlin.com On Fri, 2024-02-09 at 17:40:19 UTC, Colin Ian King wrote: > The variable bbtblocks is being assigned a value that is never > read. The assignment is redundant and can be removed. > > Cleans up clang scan build warning: > drivers/mtd/nand/raw/nand_bbt.c:579:3: warning: Value stored to > 'bbtblocks' is never read [deadcode.DeadStores] > > Signed-off-by: Colin Ian King Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks. Miquel