diff mbox

PM / QoS: Drop redundant declaration of pm_qos_get_value()

Message ID 2434181.mvXUDI8C0e@aspire.rjw.lan (mailing list archive)
State Mainlined
Delegated to: Rafael Wysocki
Headers show

Commit Message

Rafael J. Wysocki May 25, 2018, 10:33 a.m. UTC
From: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

The extra forward declaration of pm_qos_get_value() is redundant, so
drop it.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
---
 kernel/power/qos.c |    1 -
 1 file changed, 1 deletion(-)
diff mbox

Patch

Index: linux-pm/kernel/power/qos.c
===================================================================
--- linux-pm.orig/kernel/power/qos.c
+++ linux-pm/kernel/power/qos.c
@@ -184,7 +184,6 @@  static inline void pm_qos_set_value(stru
 	c->target_value = value;
 }
 
-static inline int pm_qos_get_value(struct pm_qos_constraints *c);
 static int pm_qos_dbg_show_requests(struct seq_file *s, void *unused)
 {
 	struct pm_qos_object *qos = (struct pm_qos_object *)s->private;