diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2018-05-09 10:46:36 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2018-05-10 11:55:12 +0200 |
commit | 91eb88b027ecec00110f3c496899d389d2ab9850 (patch) | |
tree | f4f02a4eb93b77ba497bcdfacc6e257e77bcfe6b /drivers/base/power | |
parent | b8e7ca205f32cf0a6a3ea56d807c938527f55269 (diff) | |
download | linux-91eb88b027ecec00110f3c496899d389d2ab9850.tar.bz2 |
PM / core: Drop unused internal inline functions for sysfs
The inline versions of rpm_sysfs_remove() and wakeup_sysfs_add|remove(),
are not being used while CONFIG_PM is unset, hence let's drop them.
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/base/power')
-rw-r--r-- | drivers/base/power/power.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/base/power/power.h b/drivers/base/power/power.h index 78bbb5da70af..c511def48b48 100644 --- a/drivers/base/power/power.h +++ b/drivers/base/power/power.h @@ -87,9 +87,6 @@ static inline void pm_runtime_remove(struct device *dev) {} static inline int dpm_sysfs_add(struct device *dev) { return 0; } static inline void dpm_sysfs_remove(struct device *dev) {} -static inline void rpm_sysfs_remove(struct device *dev) {} -static inline int wakeup_sysfs_add(struct device *dev) { return 0; } -static inline void wakeup_sysfs_remove(struct device *dev) {} #endif |