From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtpout-02.galae.net (smtpout-02.galae.net [185.246.84.56]) (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 3C3DA318ED6 for ; Tue, 17 Mar 2026 14:34:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.246.84.56 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773758095; cv=none; b=MMB+c/GF/pMV8EEwiejKMaQ17oc9VHbYY+PgRHEDnddvcoKZfUspxqh0jSp7flRptB19fwYx92dphko36hcC55uehqq0FF73t9VTtf9Tu8chhAhgyC3L56g092j+Qbg/l0M6GgY+1rVehUegNGoA+qIu+dGdDyhl3bJi1MJq1Gs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773758095; c=relaxed/simple; bh=AB27t9Hrh8v1l+efxd9rGwee8zT4bz2+Oer3gQQO2fI=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=j+gaxzCxRee5wYFb6mN/0qg/qYpKRUcfe78aACmPGAckT8jgl3OnvziT15UU6EJTf3KwhZkNg6MzjQ1/nGf4pcqO/W3oeSeEYr6oWFA2WAKQupmAkhzjtOHbTJHCHexkBJ2Pa4I8EzcOmUMGFVYa9COMJ96rpz7VJJjBT4ZvJcE= 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=pPqPaEBe; arc=none smtp.client-ip=185.246.84.56 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="pPqPaEBe" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-02.galae.net (Postfix) with ESMTPS id AB2D61A2D3F; Tue, 17 Mar 2026 14:34:50 +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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain X-Last-TLS-Session-Version: TLSv1.3 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.