sched/uclamp: Remove unnecessary mutex_init()
authorQinglang Miao <miaoqinglang@huawei.com>
Sat, 25 Jul 2020 08:56:29 +0000 (16:56 +0800)
committerIngo Molnar <mingo@kernel.org>
Sat, 25 Jul 2020 10:10:36 +0000 (12:10 +0200)
commit13efa616124f7eec7d6a58adeeef31864aa03879
treef845f45c278279a00cfa12f24c21ada58be34b37
parente17ae7fea8714caa743aa0d5e446a25a999ad726
sched/uclamp: Remove unnecessary mutex_init()

The uclamp_mutex lock is initialized statically via DEFINE_MUTEX(),
it is unnecessary to initialize it runtime via mutex_init().

Signed-off-by: Qinglang Miao <miaoqinglang@huawei.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Patrick Bellasi <patrick.bellasi@arm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Vincent Guittot <vincent.guittot@linaro.org>
Cc: Dietmar Eggemann <dietmar.eggemann@arm.com>
Link: https://lore.kernel.org/r/20200725085629.98292-1-miaoqinglang@huawei.com
kernel/sched/core.c