From patchwork Fri Jul 21 12:12:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yue Haibing X-Patchwork-Id: 123840 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9010:0:b0:3e4:2afc:c1 with SMTP id l16csp184197vqg; Fri, 21 Jul 2023 05:58:59 -0700 (PDT) X-Google-Smtp-Source: APBJJlGhvtPaD+zxdaSQSENF18oz4R/AdwnD5iYEMKvjF3a8lFABn4gdcqr86te2gZVjWxaGoaY9 X-Received: by 2002:a05:6358:4308:b0:129:d242:f782 with SMTP id r8-20020a056358430800b00129d242f782mr2755922rwc.0.1689944338827; Fri, 21 Jul 2023 05:58:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689944338; cv=none; d=google.com; s=arc-20160816; b=1EeyzdPSGtoguzNrqTsyPnyPXpOB00910iHeQHefjzMT1STzriBtdiuW1r6fYv4Xu1 NabqYQ0ZJ1Se68nNsXcJ12E9dPjvRfv7ftRCs+MxRYSGIw3B03DbBU/204WzT2oOb7hi YfKFd+DKJ9qIv/6bRbapv3VaQXiHzen2gIrdOizUIjI874DjCgNY27wtJL6ZpcoXESZO WaRtdkJtuKJNPhk0yisu3BHlI7d22soXW/M5ouG9yScrR1BU7ymLRuqTxroPl9sxTkzA oBQ7fJ8YYBl0HpfbNDW59iqF6mkuNhdmiIYq2X/gWIf0UJ2SsLCrhKQNVXlnj/s2jcEn e2PQ== 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=KW3l6lTolx3v3jo7FYQhbrQKfO9JF/4ca03Or9gN1Aw=; fh=05j7mgYrgMsOCPU08XpAyqBImzRxfssIkCzvsvXzA8M=; b=e8rP8pd1rW1hmae8C6DiSKNuJFXDMXs4Tf/dABVskd9mCHHJO1m0fjQ8UjXSpJDY7k /KjPuhc3VZxcgiKVD3s3NpL3X3odG2ThRe+40MLSw81lDVqosHKASmUMflWCuX1Fg4dv Hcru8dscv9k9asIJZJfwTgBnUCPf+nrYbbIrhJCd5d96uo/oTzwbiW1QlAEke282kHcR hIv3rKs5vkswS0LU+/P0NWeKRLl7xmXX0Y1F3/3OYozzCpTNX49GeM8jVNp/Yc16HDLg Q2conjzQJvJ4e8t/MyrXb7/p4aXTd5dTgTRoSfT4J9O84uytWZZhPOk4yI6uaItEKaok BW/g== 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 bv188-20020a632ec5000000b00553ebb05d25si2916713pgb.80.2023.07.21.05.58.45; Fri, 21 Jul 2023 05:58: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; 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 S231239AbjGUMM2 (ORCPT + 99 others); Fri, 21 Jul 2023 08:12:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36136 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230349AbjGUMM0 (ORCPT ); Fri, 21 Jul 2023 08:12:26 -0400 Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0A55B19B6; Fri, 21 Jul 2023 05:12:20 -0700 (PDT) Received: from canpemm500007.china.huawei.com (unknown [172.30.72.55]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4R6pJq3nVvzHqXN; Fri, 21 Jul 2023 20:09:47 +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; Fri, 21 Jul 2023 20:12:17 +0800 From: YueHaibing To: , CC: , , YueHaibing Subject: [PATCH -next] PM-runtime: Remove unsued extern declaration pm_runtime_update_max_time_suspended() Date: Fri, 21 Jul 2023 20:12:16 +0800 Message-ID: <20230721121216.21816-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, 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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1772035074663514134 X-GMAIL-MSGID: 1772035074663514134 commit 76e267d822f2 ("PM / Runtime: Remove device fields related to suspend time, v2") left behind this. Signed-off-by: YueHaibing --- include/linux/pm_runtime.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/linux/pm_runtime.h b/include/linux/pm_runtime.h index 9a8151a2bdea..7c9b35448563 100644 --- a/include/linux/pm_runtime.h +++ b/include/linux/pm_runtime.h @@ -85,8 +85,6 @@ extern void pm_runtime_irq_safe(struct device *dev); extern void __pm_runtime_use_autosuspend(struct device *dev, bool use); extern void pm_runtime_set_autosuspend_delay(struct device *dev, int delay); extern u64 pm_runtime_autosuspend_expiration(struct device *dev); -extern void pm_runtime_update_max_time_suspended(struct device *dev, - s64 delta_ns); extern void pm_runtime_set_memalloc_noio(struct device *dev, bool enable); extern void pm_runtime_get_suppliers(struct device *dev); extern void pm_runtime_put_suppliers(struct device *dev);