From patchwork Wed Aug 9 08:00:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yue Haibing X-Patchwork-Id: 133105 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c44e:0:b0:3f2:4152:657d with SMTP id w14csp2645868vqr; Wed, 9 Aug 2023 01:30:22 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEzLEpGDTEtlUo7k8xj0+uX2MSno194YgNXoby48ariQl6gNeJyNYIFMnNaulFzbtvvX47r X-Received: by 2002:a17:90b:1203:b0:263:53be:5120 with SMTP id gl3-20020a17090b120300b0026353be5120mr1341764pjb.36.1691569821874; Wed, 09 Aug 2023 01:30:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691569821; cv=none; d=google.com; s=arc-20160816; b=dh/WAPEUjKE8RgBq1qRgKra6xv6tK2UjznuMQc724HMflfbe7h9k49SiNYSC3rLcNb +Yi4TuhlqyDhw+3Ogq1yoj1UWZef6XxbjOGzWFPh3iQfpDhPrMvyLiy9bq1SWqV7pCKm iriYZgImV5Ow+tJaZrLD1/mPt8Y/v49ioYF8AW/efs8pyIzpPlV5MukmWZOTYLP2AWdJ bPsHXd7RgSMd+qIahIB86J8iQPBUFFtWjaCc9fPvJxknVnshvJ5Ec7Yaiz8w36ayvidH xoNrdYGP2BqAkl/sGalHWyKK8IfTjDDDXDc7UkqSL0coFf65EU4tqRA/LmvCXJjSLDLl 4NMw== 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=lxxaa5WdZAG55+8PJnpf8CLt2apBOeE5luDZ2plEmPc=; fh=DE1X0tViTaqCUnnXscE2DbckpvR60HFTvEcodH6tlbI=; b=hQhCnLPeM1O6zDUUKoz1iORLLQbaiupiEUvkA5XBq9TBuiK9v2J5iet9PpdhjeTHWV 8SkjiaN6v1I0TK5FahxFX3+/suqLKlEyAEhRB72/NX+ClbEwMPj3/PepGtwgywStO9Do 2ASCMuqNVED1euSeA+8i4gFnWQh4zscp390xnE+NXeqiQOlI3UmZ+hQt9B/uTT3xbtUE 4NXzbhFSsQsU03MBqeGLdFPRXRcYbp+5IREqZ1N6crc1wf63N9hg0/A8uBZzyqXle1L/ jn8fIWDe3LTy9RlUp+GyIuKrD3OnV5Qt2ByrfZw51f3oiB4NlIRorGRUferHJLv4a5gf N21g== 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 z15-20020a17090a398f00b0026359a2e980si942668pjb.21.2023.08.09.01.30.09; Wed, 09 Aug 2023 01:30:21 -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 S231582AbjHIIAY (ORCPT + 99 others); Wed, 9 Aug 2023 04:00:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41576 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229738AbjHIIAX (ORCPT ); Wed, 9 Aug 2023 04:00:23 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0965F173A; Wed, 9 Aug 2023 01:00:23 -0700 (PDT) Received: from canpemm500007.china.huawei.com (unknown [172.30.72.55]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4RLMr05N6XzVl7R; Wed, 9 Aug 2023 15:58:24 +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; Wed, 9 Aug 2023 16:00:19 +0800 From: Yue Haibing To: , CC: , , Subject: [PATCH v2 -next] dmaengine: Remove unused declaration dma_chan_cleanup() Date: Wed, 9 Aug 2023 16:00:12 +0800 Message-ID: <20230809080012.22000-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: dggems706-chm.china.huawei.com (10.3.19.183) 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 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: 1773739517852617486 X-GMAIL-MSGID: 1773739517852617486 Commit f27c580c3628 ("dmaengine: remove 'bigref' infrastructure") removed the implementation but left declaration in place. Remove it. Signed-off-by: Yue Haibing Reviewed-by: Andy Shevchenko --- v2: revise commit log --- 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