浏览代码

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>
Ulf Hansson 7 年之前
父节点
当前提交
91eb88b027
共有 1 个文件被更改,包括 0 次插入3 次删除
  1. 0 3
      drivers/base/power/power.h

+ 0 - 3
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 int dpm_sysfs_add(struct device *dev) { return 0; }
 static inline void dpm_sysfs_remove(struct device *dev) {}
 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
 #endif