Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ACPI: Remove three unused inline functions

There is no callers in tree.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
[ rjw: Subject edit ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

authored by

YueHaibing and committed by
Rafael J. Wysocki
749626fa ba4f184e

-9
-9
include/linux/acpi.h
··· 977 977 int acpi_subsys_runtime_resume(struct device *dev); 978 978 int acpi_dev_pm_attach(struct device *dev, bool power_on); 979 979 #else 980 - static inline int acpi_dev_runtime_suspend(struct device *dev) { return 0; } 981 - static inline int acpi_dev_runtime_resume(struct device *dev) { return 0; } 982 980 static inline int acpi_subsys_runtime_suspend(struct device *dev) { return 0; } 983 981 static inline int acpi_subsys_runtime_resume(struct device *dev) { return 0; } 984 982 static inline int acpi_dev_pm_attach(struct device *dev, bool power_on) ··· 1210 1212 static inline int acpi_node_prop_get(const struct fwnode_handle *fwnode, 1211 1213 const char *propname, 1212 1214 void **valptr) 1213 - { 1214 - return -ENXIO; 1215 - } 1216 - 1217 - static inline int acpi_dev_prop_get(const struct acpi_device *adev, 1218 - const char *propname, 1219 - void **valptr) 1220 1215 { 1221 1216 return -ENXIO; 1222 1217 }