Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp4528008rwo; Tue, 25 Jul 2023 07:23:13 -0700 (PDT) X-Google-Smtp-Source: APBJJlHIX7MRMMfo35g01s+/jCHisVzo2xbsz9Lm/suOkqCN3gskI1X4CcqzACsqgsXYl7cOQ1F+ X-Received: by 2002:a05:6358:88d:b0:135:5da6:d303 with SMTP id m13-20020a056358088d00b001355da6d303mr12267808rwj.5.1690294992854; Tue, 25 Jul 2023 07:23:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690294992; cv=none; d=google.com; s=arc-20160816; b=xWk1z9ZwjgYuvhStXyOKQtnDdUlkQBS+rsU0ncV5Z/+ohwGk0TBmy9Gjq+pPNv3cfM NQeKt8IjaEkP1FUTgjJc4u5Sy/+ee8YT3C2ZWbPYQzcwrsr6wZDaD9AA9f4i4J7lmaUl RWAasJts4KdEohlpt7NltcCF+rU/tgsFes7BRUGxyQi4y5cYfiqtEJlwyr7/tPyVSjvU 5lL/dMD//Y9I/QAk1U+9sKVVbPHf8rXeZ1bOfa7oJwIMnlsN9CphnYlQk5mCBlB/PDdn jlVYv1xahjxvJFsarjy0Ftjktv51jYp5jrRmwDEcAQkPzEvBuR84+cCCg+50eq7W2c8R NCxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=RhkbyDfSvNPxXp5sj8725UtHWutCiDnBhbBe3mkyaC4=; fh=GDDxOw7YSUKrMBP5O70WU1SHR/xU4pXvZ9atbdJqa+Y=; b=z42V6m2D53LVqF6r+w+ZOt/eK6EVHfYUMmZ1Hqm53bJhwgJ9U+Dg4Zg/yfsKVR7EVt w7DjQGMbp0C21A/qCDu4xor7BEuoShLP4+i6T/JFh3hj9RdrTHmbAaoVP8cBvnKWMzTO LxGbF5dJNr3+QwCMod+qigE97xxFWr5dl/5G/xYzT6zpSmxil6wvr8e/I/u6cOyuLTVE VepcnwCgD+4EPjxHPGLeoQ+bGRsVdN7Je9bLDXgHkziGYGUkVhoBYQLUKBkSeocvgB2p bfEHUGOE4cDp9ZZXWXlSdcEM5nlWLh95mFTNu0eK9s0AvVmhwKOex/VtpV5xpg9e9zxv QUyA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s8-20020a637708000000b0055752f5a11csi11438590pgc.390.2023.07.25.07.23.00; Tue, 25 Jul 2023 07:23:12 -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; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231853AbjGYNzc (ORCPT + 99 others); Tue, 25 Jul 2023 09:55:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48716 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229897AbjGYNza (ORCPT ); Tue, 25 Jul 2023 09:55:30 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 04065212E; Tue, 25 Jul 2023 06:55:02 -0700 (PDT) Received: from canpemm500007.china.huawei.com (unknown [172.30.72.54]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4R9JQc5ypSzrRx4; Tue, 25 Jul 2023 21:53:28 +0800 (CST) Received: from localhost (10.174.179.215) by canpemm500007.china.huawei.com (7.192.104.62) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Tue, 25 Jul 2023 21:54:21 +0800 From: YueHaibing To: , CC: , Subject: [PATCH -next] spi: fsl: Remove unused extern declarations Date: Tue, 25 Jul 2023 21:54:11 +0800 Message-ID: <20230725135411.21152-1-yuehaibing@huawei.com> X-Mailer: git-send-email 2.10.2.windows.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.174.179.215] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To canpemm500007.china.huawei.com (7.192.104.62) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,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 commit b36ece832512 ("spi/mpc8xxx: refactor the common code for SPI/eSPI controller") left mpc8xxx_spi_bufs() behind. And since commit 3c5395b66ff6 ("spi: fsl-(e)spi: simplify cleanup code") mpc8xxx_spi_remove() is not used anymore. Signed-off-by: YueHaibing --- drivers/spi/spi-fsl-lib.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/spi/spi-fsl-lib.h b/drivers/spi/spi-fsl-lib.h index 015a1abb6a84..50a07f984b23 100644 --- a/drivers/spi/spi-fsl-lib.h +++ b/drivers/spi/spi-fsl-lib.h @@ -103,12 +103,9 @@ extern void mpc8xxx_spi_rx_buf_u32(u32 data, struct mpc8xxx_spi *mpc8xxx_spi); extern struct mpc8xxx_spi_probe_info *to_of_pinfo( struct fsl_spi_platform_data *pdata); -extern int mpc8xxx_spi_bufs(struct mpc8xxx_spi *mspi, - struct spi_transfer *t, unsigned int len); extern const char *mpc8xxx_spi_strmode(unsigned int flags); extern void mpc8xxx_spi_probe(struct device *dev, struct resource *mem, unsigned int irq); -extern int mpc8xxx_spi_remove(struct device *dev); extern int of_mpc8xxx_spi_probe(struct platform_device *ofdev); #endif /* __SPI_FSL_LIB_H__ */ -- 2.34.1