From patchwork Tue Aug 8 15:05:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yue Haibing X-Patchwork-Id: 132548 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c44e:0:b0:3f2:4152:657d with SMTP id w14csp2237104vqr; Tue, 8 Aug 2023 09:27:48 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEcD6KDCKqMxGFOgZbSitfO7xamtfg4/iunPa/cx/IseJNvTjB4ATWGgmLbFENGKQij+a7T X-Received: by 2002:a17:907:75d3:b0:99b:48b9:8e45 with SMTP id jl19-20020a17090775d300b0099b48b98e45mr70284ejc.76.1691512068334; Tue, 08 Aug 2023 09:27:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691512068; cv=none; d=google.com; s=arc-20160816; b=RpPJ4GjGmIDcJnZjLhyZNu+V2QAReHHyMzaGCC95ZK5FvwxhAx0WeFuCdvuWjT+WCp k8jBC4TYbwfQqLCGxYkyW+eWyBfGviLbpV7wzb97NRY8+Sge2Jl9hEGaWW3xQBf3W037 qg1KYQjd0EnUdbKPRx4z3VnW4ZWL0tYoHQ8eA0R7eQSQ1iTyE1pNRuVQLFcvv7TQaS1u g4WXoiTL0/NlFbjnxEX2yz4btZHmrugjcnTj56MdadE2t7U06Ebi0WY48kuoKn925sHS M0O/Qq28EUp4hXaQZnZoGEvRgkhivG198HHfkdLfl96Kd1oEzqzJgZ+q7aNMBk/ZTn1G 8ygw== 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=MQnZH+HHnUsPfgjOIjW15zm/tAdguEhFMJzV7zyS9iA=; fh=DE1X0tViTaqCUnnXscE2DbckpvR60HFTvEcodH6tlbI=; b=sKnkF5SN0Zgn+4S2gSYO4TNjDN/Ma+kat4pvKJNgQ1OLEkb/jsQCoYUFM6WriCxGno +qY7W5+l8o0EJBtJ93+2lBG+Q+QeBHca3wfziZLGJmJ4zd4ggRtrWycS0/ZztokDCyw5 pjLxmyzUq1DWYChScE96pZdWr0nPcNkCbfcQezH0HYNJLsTPdgUcu/UNe+1QWUgUkKP0 XBa+3aCxoscXlHwVH3tLnwCAvfjVljefKhPpor7+qkpRN1hk/0vKd+vxGG7ogkrWYqSG QLZE4Ep1M7FL8WA7XOy3ZbaZGcwx/8gXJ+8Yrr9AyCHr8/AuXku9PHne7O4b6/XRUKJl vzHQ== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jt4-20020a170906ca0400b0098cf1b12715si7258146ejb.581.2023.08.08.09.27.24; Tue, 08 Aug 2023 09:27:48 -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 S230282AbjHHPv3 (ORCPT + 99 others); Tue, 8 Aug 2023 11:51:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41366 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229627AbjHHPts (ORCPT ); Tue, 8 Aug 2023 11:49:48 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8401A4C02; Tue, 8 Aug 2023 08:42:14 -0700 (PDT) Received: from canpemm500007.china.huawei.com (unknown [172.30.72.56]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4RKxKj1ccfzrSQl; Tue, 8 Aug 2023 23:04:09 +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, 8 Aug 2023 23:05:19 +0800 From: Yue Haibing To: , CC: , , Subject: [PATCH -next] dmaengine: Remove unused declaration dma_chan_cleanup() Date: Tue, 8 Aug 2023 23:05:17 +0800 Message-ID: <20230808150517.36632-1-yuehaibing@huawei.com> X-Mailer: git-send-email 2.10.2.windows.1 MIME-Version: 1.0 X-Originating-IP: [10.174.179.215] X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To canpemm500007.china.huawei.com (7.192.104.62) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS 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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773678958342646657 X-GMAIL-MSGID: 1773678958342646657 Commit f27c580c3628 ("dmaengine: remove 'bigref' infrastructure") removed the implementation but leave declaration. Signed-off-by: Yue Haibing Reviewed-by: Andy Shevchenko --- include/linux/dmaengine.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h index c3656e590213..3df70d6131c8 100644 --- a/include/linux/dmaengine.h +++ b/include/linux/dmaengine.h @@ -517,8 +517,6 @@ static inline const char *dma_chan_name(struct dma_chan *chan) return dev_name(&chan->dev->device); } -void dma_chan_cleanup(struct kref *kref); - /** * typedef dma_filter_fn - callback filter for dma_request_channel * @chan: channel to be reviewed