Commit 3b91f4b3 authored by Axel Lin's avatar Axel Lin Committed by Rafael J. Wysocki

PM / devfreq: exynos-nocp: Remove redundant code

load_count/total_count are reset by devfreq_event_get_event(), so
remove the redundant code in exynos_nocp_get_event().
Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Acked-by: default avatarChanwoo Choi <cw00.choi@samsung.com>
[ rjw: Subject/changelog ]
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 69e67a06
...@@ -176,9 +176,6 @@ static int exynos_nocp_get_event(struct devfreq_event_dev *edev, ...@@ -176,9 +176,6 @@ static int exynos_nocp_get_event(struct devfreq_event_dev *edev,
return 0; return 0;
out: out:
edata->load_count = 0;
edata->total_count = 0;
dev_err(nocp->dev, "Failed to read the counter of NoC probe device\n"); dev_err(nocp->dev, "Failed to read the counter of NoC probe device\n");
return ret; return ret;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment