aboutsummaryrefslogtreecommitdiffstats
path: root/net/socket.c
diff options
context:
space:
mode:
authorPeng Hao <peng.hao2@zte.com.cn>2018-10-09 11:43:35 -0400
committerThomas Gleixner <tglx@linutronix.de>2018-10-10 11:47:20 +0200
commitd59e0ba19481c0046d2ea2bd0e5344eeaf45aace (patch)
tree98351cd32bc4160eff3da32503e57cddb67c09eb /net/socket.c
parentMerge branch 'clockevents/4.20' of https://git.linaro.org/people/daniel.lezcano/linux into timers/core (diff)
downloadlinux-dev-d59e0ba19481c0046d2ea2bd0e5344eeaf45aace.tar.xz
linux-dev-d59e0ba19481c0046d2ea2bd0e5344eeaf45aace.zip
tick/sched : Remove redundant cpu_online() check
can_stop_idle_tick() checks cpu_online() twice. The first check leaves the function when the CPU is not online, so the second check it redundant. Remove it. 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/1539099815-2943-1-git-send-email-penghao122@sina.com.cn
Diffstat (limited to 'net/socket.c')
0 files changed, 0 insertions, 0 deletions