[RAMEN9610-8149] PM QoS: fix duplicated calling to pm_qos_update_target()
authorTaekki Kim <taekki.kim@samsung.com>
Tue, 25 Feb 2014 15:57:30 +0000 (00:57 +0900)
committerhskang <hs1218.kang@samsung.com>
Thu, 15 Nov 2018 04:58:18 +0000 (13:58 +0900)
The pm_qos_update_target() function will be called in
__pm_qos_update_request(). So, it's duplicated call.

Change-Id: Ifb48c762b23ff3bf452557313cd21c13b17d9d78
Signed-off-by: Taekki Kim <taekki.kim@samsung.com>
kernel/power/qos.c

index 697a8be7c562bfd79d23e3ad3a73b8e89be0039a..e54a17ee87a930ae5e0a30800afbfca504b768fa 100644 (file)
@@ -898,11 +898,6 @@ void pm_qos_update_request(struct pm_qos_request *req,
        if (delayed_work_pending(&req->work))
                cancel_delayed_work_sync(&req->work);
 
-       if (new_value != req->node.prio)
-               pm_qos_update_target(
-                       pm_qos_array[req->pm_qos_class]->constraints,
-                       &req->node, PM_QOS_UPDATE_REQ, new_value);
-
        __pm_qos_update_request(req, new_value);
 }
 EXPORT_SYMBOL_GPL(pm_qos_update_request);