summaryrefslogtreecommitdiff
path: root/kernel/power
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2018-05-25 12:33:10 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2018-05-28 23:21:41 +0200
commit74cd8171c42fcb0a0d55575dd036239b7325a455 (patch)
tree3eb1ef8d4b765d29c9b96409f7c23227ac7804a1 /kernel/power
parentb04e217704b7f879c6b91222b066983a44a7a09f (diff)
downloadlwn-74cd8171c42fcb0a0d55575dd036239b7325a455.tar.gz
lwn-74cd8171c42fcb0a0d55575dd036239b7325a455.zip
PM / QoS: Drop redundant declaration of pm_qos_get_value()
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>
Diffstat (limited to 'kernel/power')
-rw-r--r--kernel/power/qos.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/power/qos.c b/kernel/power/qos.c
index fa39092b7aea..86d72ffb811b 100644
--- a/kernel/power/qos.c
+++ b/kernel/power/qos.c
@@ -184,7 +184,6 @@ static inline void pm_qos_set_value(struct pm_qos_constraints *c, s32 value)
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;