From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9DC4AF33827 for ; Tue, 17 Mar 2026 14:34:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type:MIME-Version: Message-ID:Date:References:In-Reply-To:Subject:Cc:To:From:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=AB27t9Hrh8v1l+efxd9rGwee8zT4bz2+Oer3gQQO2fI=; b=k3zysd4IGXaTzCee2k0Ij/8XZv tPxwiRTrG2PbzgbooB25FRsj/6SPA0G84Jj6/V/Z3KEY2+nu/Lki6HADASXZWiU1jLQnuIbvjv3nS BR5F2NtEe3mOAvLGW/icvRQ2eIXfsAQOLmwDOYDIQ0aAV2uVnNLuHgYZZ16vS7vdga61XGvGApPm5 sso6f82oKKMuO/TXJGQC6o5ZS//D3LfrtG0MBJ7mDvBRA1vKONP0+14gvxgGx0SOcFipQeheWG5SC YS3lon6Za9BVRk5JwoN0BroQkX2yCGNLbOWjBoi+F0htR73xwbNNlk1kAxPJe6uQrPuqXydZm70g5 6GveG77w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1w2VVX-00000006cpq-0yCU; Tue, 17 Mar 2026 14:34:55 +0000 Received: from smtpout-04.galae.net ([185.171.202.116]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1w2VVU-00000006cow-3kLc for linux-arm-kernel@lists.infradead.org; Tue, 17 Mar 2026 14:34:54 +0000 Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-04.galae.net (Postfix) with ESMTPS id 9FD52C55056; Tue, 17 Mar 2026 14:35:14 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 78B695FC9A; Tue, 17 Mar 2026 14:34:50 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 2619D10450600; Tue, 17 Mar 2026 15:34:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1773758089; h=from:subject:date:message-id:to:cc:mime-version:content-type: in-reply-to:references; bh=AB27t9Hrh8v1l+efxd9rGwee8zT4bz2+Oer3gQQO2fI=; b=pPqPaEBe+JR022mSMm8YzTax1CYVXEJJstYBH/9n/RK+TN6NH+7xauD2sKhAgheF/2pkbD JP8aT2j4IAweob1w7uFC00DeSGhow/E1mPqf/aT/OoLpf1EaeEnA0h4d42De7TK/CpPNxk wGzx9C48G9SY1lD9J1UJLbXEG2MyeD9z+bWIV2YMO9UYY01bQ/Z2hYE/LcUs1G+ogu2V6E bDR4J9JmH8HLgc3Ew6q+cfnnw5T/z0ewQVN/NhbB/5Yh0o5EVunpUJzIoA4SnRR2XZGvHH u1MbCVvlNibinl4IsVzS0q/TW8zK9zcwgrRfAUmSLEddAMuw0wFknUmja6bjkA== From: Miquel Raynal To: Richard Genoud Cc: Richard Weinberger , Vignesh Raghavendra , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Wentao Liang , Maxime Ripard , Boris Brezillon , Thomas Petazzoni , linux-mtd@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 6/9] mtd: rawnand: sunxi: remove dead code In-Reply-To: <20260317142437.580204-7-richard.genoud@bootlin.com> (Richard Genoud's message of "Tue, 17 Mar 2026 15:24:34 +0100") References: <20260317142437.580204-1-richard.genoud@bootlin.com> <20260317142437.580204-7-richard.genoud@bootlin.com> User-Agent: mu4e 1.12.7; emacs 30.2 Date: Tue, 17 Mar 2026 15:34:45 +0100 Message-ID: <875x6ued8a.fsf@bootlin.com> MIME-Version: 1.0 Content-Type: text/plain X-Last-TLS-Session-Version: TLSv1.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260317_073453_094435_ECB17B13 X-CRM114-Status: UNSURE ( 7.96 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 17/03/2026 at 15:24:34 +01, Richard Genoud wrote: > sunxi_nand_ooblayout_free() is only used in a code path where > engine_type == NAND_ECC_ENGINE_TYPE_ON_HOST > > So the other cases can be removed. > > Signed-off-by: Richard Genoud > --- Thanks! This looks much simpler and yet remains accurate.