diff mbox series

[3/4] PM / core: Drop unused internal functions for pm_qos sysfs

Message ID 1525855596-18116-4-git-send-email-ulf.hansson@linaro.org
State Accepted
Commit b8e7ca205f32cf0a6a3ea56d807c938527f55269
Headers show
Series PM / core: Remove unused functions from power.h | expand

Commit Message

Ulf Hansson May 9, 2018, 8:46 a.m. UTC
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>

---
 drivers/base/power/power.h | 2 --
 1 file changed, 2 deletions(-)

-- 
2.7.4
diff mbox series

Patch

diff --git a/drivers/base/power/power.h b/drivers/base/power/power.h
index be40910..78bbb5d 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