Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp2047129ybi; Mon, 1 Jul 2019 05:16:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqzKHlPOU/E67PmpwY3W3BYssc5WRrWy/PYAgY5pOIPRoNIgdj3RFDZ937naEA5bqYnaZOeM X-Received: by 2002:a63:6981:: with SMTP id e123mr24192217pgc.136.1561983414031; Mon, 01 Jul 2019 05:16:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561983414; cv=none; d=google.com; s=arc-20160816; b=bzApQBlRqZdWPEwm+dEt7lcIuX93yWDJsffAO+xU09sIty6HpxvZ8s47FZwG5tQn52 5pjt9IiFHPvsEJYCgy+1r0/wMGf/8XGpqPrscjmnUhd19uh2hEzK9BdYlpuJT1FlQh07 HoOaYI3GZEbflkax0I/zIz9k7T0AZcaVQ/bHdQ4AdTx2cJnkQKkFeKn+sPvB8GvOM7yc pRWMl79SPVWP4hThXOjljAMj3nfNOLRypurF9UYYh7cQ+BGXBzVt6ncUgg4j6ySxmRa6 0uG9MU+ZelqpFG1YZNgFZGsrf0gjGmctUpYqww7TrQmRQp3jnFYTdl0eR5GhGzGGwAOB 1zJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=VkJWaxR+Zf6SxFSpvJ9grOztaJCVE06sl2gXY3Rc3PI=; b=lBx9OwWFg75CGTLxhCXl62TLtNmbV5B6WrYWk9fBtBv72ZNW912loJWG0TmNgOi8PM rf+Su5EoQh8Kqlf5nU/ejPPE6SifeaIVXzgip+X+PVb0Ut8h3cR6jpt4W91ZBbw/PmPY l5n6zTco9yP82UZV/yjnNu+1OSS3W2wRpYD1TOVR7sCg5cjknVL9Ot81/80itOy/RHSt lwSaMug1ATa0xzBIhiAwEZX1O7wxQAkJFJ+A8hrBM87JwYIqJ/gauIBNzOaDCXLiWQ3M TS2hPfACaGDa9qyegkBEoONDnZCUlhwDov3kXwTGGY8lb3jtHQLgBn2LocVjraj7ajeL k5JA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m14si10012318pgj.377.2019.07.01.05.16.38; Mon, 01 Jul 2019 05:16:54 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728077AbfGAK6T (ORCPT + 99 others); Mon, 1 Jul 2019 06:58:19 -0400 Received: from cloudserver094114.home.pl ([79.96.170.134]:63841 "EHLO cloudserver094114.home.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727662AbfGAK6T (ORCPT ); Mon, 1 Jul 2019 06:58:19 -0400 Received: from 79.184.254.216.ipv4.supernova.orange.pl (79.184.254.216) (HELO kreacher.localnet) by serwer1319399.home.pl (79.96.170.134) with SMTP (IdeaSmtpServer 0.83.267) id ea74f568e8a3ec2b; Mon, 1 Jul 2019 12:58:16 +0200 From: "Rafael J. Wysocki" To: Linux PM Cc: Linux PCI , Linux ACPI , LKML , Bjorn Helgaas , Andy Shevchenko , Mika Westerberg , Hans De Goede , "Robert R. Howell" Subject: [PATCH v2 5/5] ACPI: PM: Drop unused function and function header Date: Mon, 01 Jul 2019 12:55:43 +0200 Message-ID: <1977575.pFh3yxvZUW@kreacher> In-Reply-To: <4976412.ihyb9sT5jY@kreacher> References: <4976412.ihyb9sT5jY@kreacher> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Rafael J. Wysocki Remove a leftover function header and a static inline stub with no users from the ACPI header file. Signed-off-by: Rafael J. Wysocki --- -> v2: No changes. --- include/linux/acpi.h | 2 -- 1 file changed, 2 deletions(-) Index: linux-pm/include/linux/acpi.h =================================================================== --- linux-pm.orig/include/linux/acpi.h +++ linux-pm/include/linux/acpi.h @@ -913,7 +913,6 @@ static inline int acpi_dev_pm_attach(str #endif #if defined(CONFIG_ACPI) && defined(CONFIG_PM_SLEEP) -int acpi_dev_suspend_late(struct device *dev); int acpi_subsys_prepare(struct device *dev); void acpi_subsys_complete(struct device *dev); int acpi_subsys_suspend_late(struct device *dev); @@ -922,7 +921,6 @@ int acpi_subsys_suspend(struct device *d int acpi_subsys_freeze(struct device *dev); int acpi_subsys_poweroff(struct device *dev); #else -static inline int acpi_dev_resume_early(struct device *dev) { return 0; } static inline int acpi_subsys_prepare(struct device *dev) { return 0; } static inline void acpi_subsys_complete(struct device *dev) {} static inline int acpi_subsys_suspend_late(struct device *dev) { return 0; }