cpufreq: schedutil: Remove update_lock comment from struct sugov_policy definition
authorYue Hu <huyue2@yulong.com>
Thu, 18 Feb 2021 09:37:53 +0000 (17:37 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 19 Feb 2021 15:14:16 +0000 (16:14 +0100)
Currently, update_lock is also used in sugov_update_single_freq().

The comment is not helpful anymore.

Signed-off-by: Yue Hu <huyue2@yulong.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
[ rjw: Subject edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
kernel/sched/cpufreq_schedutil.c

index 68fd485..fe7df03 100644 (file)
@@ -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;