tick/broadcast: Remove redundant check
authorPeng Hao <peng.hao2@zte.com.cn>
Fri, 28 Sep 2018 16:03:28 +0000 (12:03 -0400)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 28 Sep 2018 20:29:35 +0000 (22:29 +0200)
commitdc6253108f0fbff4a634055d5b8a91958ec2af81
tree52117c04a7d4a85c92ad89c01e0b6c3a75355578
parent9ac669fc01dbfef707ecaa6b618c0d03294cca16
tick/broadcast: Remove redundant check

tick_device_is_functional() is called early in tick_broadcast_control(), so
no need to call it again later.

Signed-off-by: Peng Hao <peng.hao2@zte.com.cn>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: fweisbec@gmail.com
Link: https://lkml.kernel.org/r/1538150608-2599-1-git-send-email-penghao122@sina.com.cn
kernel/time/tick-broadcast.c