Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp1269538lqb; Sat, 25 May 2024 13:25:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWWIa0/TOTWBq69XrSMOUV5D4btmexE1Rymusbr4mKUfJNe7+FObw8nrNhhHS9AGlJ5x4/sKcSYiURx5/3kmBpc6ZAtfnLONtaVwjuyjA== X-Google-Smtp-Source: AGHT+IHEWtWkbbkJxIZLc60i8AZfzsx9kAoETCLbLTu+euEG2wldIFTSSGOMKfTwyW7hxkKunm8L X-Received: by 2002:a17:906:35d9:b0:a59:e3b8:ab7b with SMTP id a640c23a62f3a-a6265118811mr369821266b.74.1716668755859; Sat, 25 May 2024 13:25:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716668755; cv=pass; d=google.com; s=arc-20160816; b=aC+vozhdO9vwMczn/f6v43gvD0iNjPRo+mnZjh8dowVq+gfCS8AarDHGfdF6f5UVtV 2pdFgxQIe4bEYIcnE0OGqJGwynKVRAPOWtdU+7a23F0h+nlPcYMWC2bsBKaTchbHkmm/ eVwo9DtiRsKeHOWq4MTU7sAJlMZd3p5cw1LtoseOvrkmKtk9cWrI1Z4aClv0r4+mea/o FEEpManulnIQGgP7+uFd5UQ6KZzpI5AJfKEg/cURFNObNsFJ9uEk9k415RrzVK4L0Saw gLrZNnmzA8lr/cjeYEnNS9xuSSqyLQXSHLEQZXrQZr0VgatCYftx2vaXlGPIwdbrvbEl jUXw== 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:message-id:date:subject:cc:to :from:dkim-signature; bh=L8yXfVyv7RnwhIiGInf9JF68oMRoKkvKLcNTX0uZDoM=; fh=Jxk545RpikEajBR0Y89CxeyV6I66M9gIfuOWKKydekI=; b=S91GAizVXh2nWd+d8AQtzeqgmkXKGn1dZC5g5zirLpc5uDhK2ZHcBJ2xkRyWybgt/8 s/nRXC4WUoC4EFf/EzgovpRl+vY0SrG1I3tXeNpY5l19ZyFeH4c2pvXI+UjYXhYzLi7A c1Xru4Mq3MboKJZ8Lo8CJHBpRR/XLI/XfSJh2kvuqRChb4up82PLITKouBh9vZepfOnT ziF3rGjgtFZQWuF4BAQJeT6pPXjJqlT4SXj95HfMtY+jAnj0gee2arMiztTbYPakbpbW hPFpR13Lr14kaUIlFAkokZ3TgIaH3vYQ6DMASgDxNxCDr2cpdCa0Bulh7WLUqMpvHDJi CWcQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@treblig.org header.s=bytemarkmx header.b=AcIOfu3D; arc=pass (i=1 spf=pass spfdomain=treblig.org dkim=pass dkdomain=treblig.org dmarc=pass fromdomain=treblig.org); spf=pass (google.com: domain of linux-kernel+bounces-189534-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-189534-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=treblig.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a626cc36f6dsi212111566b.324.2024.05.25.13.25.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 May 2024 13:25:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-189534-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=@treblig.org header.s=bytemarkmx header.b=AcIOfu3D; arc=pass (i=1 spf=pass spfdomain=treblig.org dkim=pass dkdomain=treblig.org dmarc=pass fromdomain=treblig.org); spf=pass (google.com: domain of linux-kernel+bounces-189534-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-189534-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=treblig.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 889221F21424 for ; Sat, 25 May 2024 20:25:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A5147128834; Sat, 25 May 2024 20:25:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b="AcIOfu3D" Received: from mx.treblig.org (mx.treblig.org [46.235.229.95]) (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 D455D2119 for ; Sat, 25 May 2024 20:25:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.229.95 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716668747; cv=none; b=Bfplp8mnP984MbWM4qDYIA36IkT65aFC0rCSrTwZi9hQq5g2E4kjX+H8dghIYs+76qYkAe832mmRMDeZTHMEeGI3xuNsrqDdh0Z247siRY2ftdQkk0VZvWdyA+t6vDjgNYzDGadWnJ/FY3IOwhdMkdcm4fMixOUH1d7mPVNK5Ws= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716668747; c=relaxed/simple; bh=kk70rCY4qeBJ4QSd/JqZcmiRIitXj3ehlAtPbG1aw+w=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=MsN1Frv5khdnJBGCVe2hqOpM7JeU72vXd6Ixd7KjY2BEQKt2MvhCI1lP2rHRiNQR9rk0C3LhY8YPYP8Qqq0HhNWMSBKXf4mjWO73i/UJ5RvOBI09BmDfNy7pUw1+SAREmE9lraOaFXuJpJPXVHt6f7YsJbqADt3pF1utbC0Z400= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org; spf=pass smtp.mailfrom=treblig.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b=AcIOfu3D; arc=none smtp.client-ip=46.235.229.95 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=treblig.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=treblig.org ; s=bytemarkmx; h=MIME-Version:Message-ID:Date:Subject:From:Content-Type:From :Subject; bh=L8yXfVyv7RnwhIiGInf9JF68oMRoKkvKLcNTX0uZDoM=; b=AcIOfu3DYYRzy5OR a3WVMzVoT4zUlhp9Q2CEzrOJZT/gZj86VfBPy0m39BUt8luaxqmJsFLONbSSFVkR47+JRHtcUZdL7 rzmQnOjm5j/DxzmQNW2GzxCm3WuSV/5/SSFF3uwOFLAm4DU9v8Fl8hgtqgeMo9QUaeSnS6FZA6dJa fcqENOKFiSxqi3tipg7zX3p5qiFwZzTi76DYYgskBfcP76s2uJC8ki3U7GZyLa7ZZfApXoO9TezUS SCg+7PuRz6xjbDZ6JNrZPDZZwaPwtmw3JWYThJMFCBbokrZnkdirfqJmaGCMrNogySgNJFPp2GWUQ hlIezcxhzzK/AqBASw==; Received: from localhost ([127.0.0.1] helo=dalek.home.treblig.org) by mx.treblig.org with esmtp (Exim 4.96) (envelope-from ) id 1sAxxM-002XDI-1Y; Sat, 25 May 2024 20:25:33 +0000 From: linux@treblig.org To: miquel.raynal@bootlin.com, richard@nod.at, vigneshr@ti.com Cc: linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, "Dr. David Alan Gilbert" Subject: [PATCH] mtd: rawnand: cadence: remove unused struct 'ecc_info' Date: Sat, 25 May 2024 21:25:29 +0100 Message-ID: <20240525202529.120792-1-linux@treblig.org> X-Mailer: git-send-email 2.45.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Dr. David Alan Gilbert" 'ecc_info' has been unused since the original commit ec4ba01e894d ("mtd: rawnand: Add new Cadence NAND driver to MTD subsystem"). Remove it. Signed-off-by: Dr. David Alan Gilbert --- drivers/mtd/nand/raw/cadence-nand-controller.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/mtd/nand/raw/cadence-nand-controller.c b/drivers/mtd/nand/raw/cadence-nand-controller.c index 04f84d87c657..ff92c17def83 100644 --- a/drivers/mtd/nand/raw/cadence-nand-controller.c +++ b/drivers/mtd/nand/raw/cadence-nand-controller.c @@ -531,11 +531,6 @@ struct cdns_nand_chip { u8 cs[] __counted_by(nsels); }; -struct ecc_info { - int (*calc_ecc_bytes)(int step_size, int strength); - int max_step_size; -}; - static inline struct cdns_nand_chip *to_cdns_nand_chip(struct nand_chip *chip) { -- 2.45.1