From: Yue Hu Date: Thu, 18 Feb 2021 09:37:53 +0000 (+0800) Subject: cpufreq: schedutil: Remove update_lock comment from struct sugov_policy definition X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=e209cb51bfcceda7519b8ba1094c8ba41a658ce8;p=linux.git cpufreq: schedutil: Remove update_lock comment from struct sugov_policy definition Currently, update_lock is also used in sugov_update_single_freq(). The comment is not helpful anymore. Signed-off-by: Yue Hu Acked-by: Viresh Kumar [ rjw: Subject edits ] Signed-off-by: Rafael J. Wysocki --- diff --git a/kernel/sched/cpufreq_schedutil.c b/kernel/sched/cpufreq_schedutil.c index 68fd485504a69..fe7df039ce9e9 100644 --- a/kernel/sched/cpufreq_schedutil.c +++ b/kernel/sched/cpufreq_schedutil.c @@ -26,7 +26,7 @@ struct sugov_policy { struct sugov_tunables *tunables; struct list_head tunables_hook; - raw_spinlock_t update_lock; /* For shared policies */ + raw_spinlock_t update_lock; u64 last_freq_update_time; s64 freq_update_delay_ns; unsigned int next_freq;