diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2018-05-09 10:46:35 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2018-05-10 11:55:12 +0200 |
commit | b8e7ca205f32cf0a6a3ea56d807c938527f55269 (patch) | |
tree | 4b3e01bc4f0b31b5294f8c152ea067d14ca1e780 /drivers | |
parent | ff5f078e20dc67811b94a3bce5dee23f668068d1 (diff) | |
download | linux-b8e7ca205f32cf0a6a3ea56d807c938527f55269.tar.bz2 |
PM / core: Drop unused internal functions for pm_qos sysfs
The functions pm_qos_sysfs_add|remove() are available as inline functions
only while CONFIG_PM is unset, but are not being used. Likely they are a
leftover from an earlier cleanup in the past, anyway 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')
-rw-r--r-- | drivers/base/power/power.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/base/power/power.h b/drivers/base/power/power.h index be409103fb62..78bbb5da70af 100644 --- a/drivers/base/power/power.h +++ b/drivers/base/power/power.h @@ -90,8 +90,6 @@ 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) {} -static inline int pm_qos_sysfs_add(struct device *dev) { return 0; } -static inline void pm_qos_sysfs_remove(struct device *dev) {} #endif |