[PATCH] PM / QoS: Drop redundant declaration of pm_qos_get_value()

From: Rafael J. Wysocki
Date: Fri May 25 2018 - 08:00:35 EST


From: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>

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

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

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;