lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAJZ5v0gtKCjPHKdK3bogM=suoU+bVk3RKHGeM-JWESma5dXUQA@mail.gmail.com>
Date:   Fri, 25 Sep 2020 12:37:44 +0200
From:   "Rafael J. Wysocki" <rafael@...nel.org>
To:     YueHaibing <yuehaibing@...wei.com>
Cc:     "Rafael J. Wysocki" <rjw@...ysocki.net>,
        Len Brown <lenb@...nel.org>,
        Ulf Hansson <ulf.hansson@...aro.org>,
        ACPI Devel Maling List <linux-acpi@...r.kernel.org>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH -next] ACPI: Remove unused inline functions

On Tue, Sep 1, 2020 at 8:47 AM YueHaibing <yuehaibing@...wei.com> wrote:
>
> There is no callers in tree.
>
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>

Applied as 5.10 material with a minor edit in the subject, thanks!

> ---
>  include/linux/acpi.h | 9 ---------
>  1 file changed, 9 deletions(-)
>
> diff --git a/include/linux/acpi.h b/include/linux/acpi.h
> index 17e80e182802..dd9b961628eb 100644
> --- a/include/linux/acpi.h
> +++ b/include/linux/acpi.h
> @@ -979,8 +979,6 @@ int acpi_subsys_runtime_suspend(struct device *dev);
>  int acpi_subsys_runtime_resume(struct device *dev);
>  int acpi_dev_pm_attach(struct device *dev, bool power_on);
>  #else
> -static inline int acpi_dev_runtime_suspend(struct device *dev) { return 0; }
> -static inline int acpi_dev_runtime_resume(struct device *dev) { return 0; }
>  static inline int acpi_subsys_runtime_suspend(struct device *dev) { return 0; }
>  static inline int acpi_subsys_runtime_resume(struct device *dev) { return 0; }
>  static inline int acpi_dev_pm_attach(struct device *dev, bool power_on)
> @@ -1218,13 +1216,6 @@ static inline int acpi_node_prop_get(const struct fwnode_handle *fwnode,
>         return -ENXIO;
>  }
>
> -static inline int acpi_dev_prop_get(const struct acpi_device *adev,
> -                                   const char *propname,
> -                                   void **valptr)
> -{
> -       return -ENXIO;
> -}
> -
>  static inline int acpi_dev_prop_read_single(const struct acpi_device *adev,
>                                             const char *propname,
>                                             enum dev_prop_type proptype,
> --
> 2.17.1
>
>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ