Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp985948iog; Wed, 29 Jun 2022 14:37:58 -0700 (PDT) X-Google-Smtp-Source: AGRyM1s1OhQKx0rdu8kipXH+0WZv1a5uOuYKSZ6o7PB7O3sBKn+m9pNNCQpslRUAQ7a+mdk82sj2 X-Received: by 2002:a17:90a:f8d2:b0:1ec:b55b:2fdc with SMTP id l18-20020a17090af8d200b001ecb55b2fdcmr6002482pjd.115.1656538678294; Wed, 29 Jun 2022 14:37:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656538678; cv=none; d=google.com; s=arc-20160816; b=L5ikWRfCukkzmJrEup1OS8cbhdk32Ml9zObgRbIi/kPnBSQ+4mkMo6Bf64NpycGxEO URp3dfAGfQotNzYsDP6LHGzVT8SDpoN0msHBe0nfP1+PRHPNkPufy+J9YlJY4+ZZmNd6 1E1xGcLV7YGisVYbtGfZ3rrkyzJWB1vPHw5FyprKjLe1GPn1GTxPT9R35nBMCE1eoNr+ HFXsO7PdJAhf7VWwZOEY5na9rSsU5AJzPMDzdjQQYRdjHq3h5zcnA8dbhK9SAcnvgrx1 25NgDoeDj7ypgqrHU4reID4MNJnuNhCiVom9V7+x/yMwbTHHR6GTYCUvwAlJ32th81Vc tu1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=GtoWH3Twv71XknYtu8BYL5GG9PgQIu+29g9mDNFEswk=; b=VKyRRZARTd/PiRTw4TdwqaGJchEZmUiOYQDkcKlj7McC7hLzq++GfqPezKgIeUfRad KWQvueRn+mAp197/K3ND3D2sOBBty9q6mghdb6NM+di/LAQVTfTbxvjxSWuOL/vp5zg9 pPI4XVVRC3nTH5lXVE0S802sDFd2d9dmOv2OLr8zbkOL3a9y/J+VGyTDQEVWp+WVPoZR hOAjrWzuGm207FjjxL/24Dhhw1yDSMp4OdN3wXxjCJQJTBzVhC0yRMnPqBBBNMLj89WM 9dAuYGswqBgYqxcZo+8yKPP5I0d7HaPoQeWUBDh00mLZW5P64E2s99qIFJ2YTdxbTAhL orZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20210112 header.b="qy/Ujs6i"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 12-20020a630c4c000000b0040c889f1e57si22770123pgm.796.2022.06.29.14.37.39; Wed, 29 Jun 2022 14:37:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@googlemail.com header.s=20210112 header.b="qy/Ujs6i"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230482AbiF2Vfk (ORCPT + 99 others); Wed, 29 Jun 2022 17:35:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41894 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230292AbiF2Vf2 (ORCPT ); Wed, 29 Jun 2022 17:35:28 -0400 Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1CD5E326E7; Wed, 29 Jun 2022 14:35:27 -0700 (PDT) Received: by mail-ej1-x62b.google.com with SMTP id g26so35147002ejb.5; Wed, 29 Jun 2022 14:35:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=GtoWH3Twv71XknYtu8BYL5GG9PgQIu+29g9mDNFEswk=; b=qy/Ujs6iCq2aqMwtZJGfA0A64dA2U63n8Zciy8Dr4CBpy6bSY9OI81Las6pQTv7OBb XwAyqF6Iwnz8SW9OGhyYKWgqCyd+BPf+MwFzJ6BJJypZrYk6MYQdsyrlm5CB6j8TYHiX UoBi1VUVWEav0k+edCZBgbH0Lrqs6+olUQwQvFCi7ZpUJlYsWWgHxymxCL5sryFiJI0J S0Rp7s0iaihV5mwwqc0LMKhkdUprlqRvSLAATH/ZhSOa/PwYpjLw1XQHvLp3E9I5QRQF RsOEb/ot2m5dtEOivXQe6xc0PNv/HWo5G+470UtmXmtUTYd72DtaGg9li5My96R69/Ox pHhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=GtoWH3Twv71XknYtu8BYL5GG9PgQIu+29g9mDNFEswk=; b=XTtGd1HU2VkHDTbaa4C5DTTuF4MRUuIuVt2qyypJJnjX7DzszYFyCN+47hTEF0i5JC +MVoHmWwoi9wAe8j6+Y3AsuMIs0F7Ipn0qiVnTF2truA0Wh2EJPA6u//l25kOvgjL0XZ cT7UgZgoaZqKS974N4WmjygH0t8I/x2im/e1FtvOGdoeeS/wh1GIVJSo9I6X0ECIhblG sU/ZENBNMH/oFRAk/ZfqmYAfhBnPgR5PO/vVWLkqnSDUljyED67GCbjSmFHoSy2hbKTA 2sm1PvWVnmSMSPWAV4NsK2aBllCiiYKhSIdx3CaGAZHzkNfH7k4Kyx3OWiFg54xC0Ksj pm0g== X-Gm-Message-State: AJIora+ozlFGehs1DmDuatJo/9TagLLoNesJ2DK8kzqmnbkKDKPERJkB YVUwK7hEZf6a6m+chxsZa2oT9Oc0DeE= X-Received: by 2002:a17:906:ce:b0:715:705e:52fb with SMTP id 14-20020a17090600ce00b00715705e52fbmr5297494eji.303.1656538525688; Wed, 29 Jun 2022 14:35:25 -0700 (PDT) Received: from localhost.localdomain (dynamic-077-007-003-132.77.7.pool.telefonica.de. [77.7.3.132]) by smtp.googlemail.com with ESMTPSA id s7-20020a1709066c8700b0070c4abe4706sm8237889ejr.158.2022.06.29.14.35.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Jun 2022 14:35:25 -0700 (PDT) From: Martin Blumenstingl To: linux-mtd@lists.infradead.org, devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org, tlanger@maxlinear.com, rtanwar@maxlinear.com, miquel.raynal@bootlin.com, richard@nod.at, vigneshr@ti.com, Martin Blumenstingl Subject: [PATCH v2 7/8] mtd: rawnand: intel: Remove unused clk_rate member from struct ebu_nand Date: Wed, 29 Jun 2022 23:35:07 +0200 Message-Id: <20220629213508.1989600-8-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.37.0 In-Reply-To: <20220629213508.1989600-1-martin.blumenstingl@googlemail.com> References: <20220629213508.1989600-1-martin.blumenstingl@googlemail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The clk_rate member from struct ebu_nand is only written but never read. Remove this unused and unneeded member. Signed-off-by: Martin Blumenstingl --- drivers/mtd/nand/raw/intel-nand-controller.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/mtd/nand/raw/intel-nand-controller.c b/drivers/mtd/nand/raw/intel-nand-controller.c index de4f85368988..e486db11ecc3 100644 --- a/drivers/mtd/nand/raw/intel-nand-controller.c +++ b/drivers/mtd/nand/raw/intel-nand-controller.c @@ -118,7 +118,6 @@ struct ebu_nand_controller { struct dma_chan *dma_tx; struct dma_chan *dma_rx; struct completion dma_access_complete; - unsigned long clk_rate; struct clk *clk; u32 nd_para0; u8 cs_num; @@ -636,7 +635,6 @@ static int ebu_nand_probe(struct platform_device *pdev) dev_err(dev, "failed to enable clock: %d\n", ret); return ret; } - ebu_host->clk_rate = clk_get_rate(ebu_host->clk); ebu_host->dma_tx = dma_request_chan(dev, "tx"); if (IS_ERR(ebu_host->dma_tx)) { -- 2.37.0