sched/tune: remove duplicated spin_lock initialization
authorPark Bumgyu <bumgyu.park@samsung.com>
Thu, 1 Jun 2017 06:28:49 +0000 (15:28 +0900)
committerChungwoo Park <cww.park@samsung.com>
Mon, 21 May 2018 08:37:30 +0000 (17:37 +0900)
Change-Id: I2e0ec5521b0d606c02bcbafd97a5352144be964a
Signed-off-by: Park Bumgyu <bumgyu.park@samsung.com>
kernel/sched/tune.c

index 22e312cbf6d67a5f4fc40813d328bb9b51c5af8b..73a02fece874e1c6fe39e9ebba593182395f06ff 100644 (file)
@@ -891,7 +891,6 @@ schedtune_boostgroup_init(struct schedtune *st)
                bg = &per_cpu(cpu_boost_groups, cpu);
                bg->group[st->idx].boost = 0;
                bg->group[st->idx].tasks = 0;
-               raw_spin_lock_init(&bg->lock);
        }
 
        return 0;