mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 12:11:40 +00:00
clocksource/drivers/arm_global_timer: Remove duplicated argument in arm_global_timer
Fix the following coccicheck warning: drivers/clocksource/arm_global_timer.c:107:4-23: duplicated argument to & or | Signed-off-by: Wan Jiabing <wanjiabing@vivo.com> Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Link: https://lore.kernel.org/r/20210615115440.8881-1-wanjiabing@vivo.com
This commit is contained in:
parent
be534f8ee1
commit
f94bc2667f
@ -104,7 +104,7 @@ static void gt_compare_set(unsigned long delta, int periodic)
|
||||
counter += delta;
|
||||
ctrl = readl(gt_base + GT_CONTROL);
|
||||
ctrl &= ~(GT_CONTROL_COMP_ENABLE | GT_CONTROL_IRQ_ENABLE |
|
||||
GT_CONTROL_AUTO_INC | GT_CONTROL_AUTO_INC);
|
||||
GT_CONTROL_AUTO_INC);
|
||||
ctrl |= GT_CONTROL_TIMER_ENABLE;
|
||||
writel_relaxed(ctrl, gt_base + GT_CONTROL);
|
||||
writel_relaxed(lower_32_bits(counter), gt_base + GT_COMP0);
|
||||
|
Loading…
Reference in New Issue
Block a user