PM / core: Drop unused internal functions for pm_qos sysfs
authorUlf Hansson <ulf.hansson@linaro.org>
Wed, 9 May 2018 08:46:35 +0000 (10:46 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 10 May 2018 09:55:12 +0000 (11:55 +0200)
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>
drivers/base/power/power.h

index be409103fb62f29188d9e5e04e25937a0751abec..78bbb5da70af77d4a6345ec127cdb730ae20e233 100644 (file)
@@ -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