summaryrefslogtreecommitdiffstats
path: root/kernel/timer.c
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2014-03-25 13:56:23 +0530
committerThomas Gleixner <tglx@linutronix.de>2014-03-26 00:56:49 +0100
commitb97f0291a2504291aef850077f98cab68a5a2f33 (patch)
tree0afd803e1ceee86ef5a44d1a43028d624dd2110d /kernel/timer.c
parentcacb3c76c2012ade52124e8c6fdc5cb125625772 (diff)
downloadop-kernel-dev-b97f0291a2504291aef850077f98cab68a5a2f33.zip
op-kernel-dev-b97f0291a2504291aef850077f98cab68a5a2f33.tar.gz
tick: Remove code duplication in tick_handle_periodic()
tick_handle_periodic() is calling ktime_add() at two places, first before the infinite loop and then at the end of infinite loop. We can rearrange code a bit to fix code duplication here. It looks quite simple and shouldn't break anything, I guess :) Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Cc: linaro-kernel@lists.linaro.org Cc: fweisbec@gmail.com Link: http://lkml.kernel.org/r/be3481e8f3f71df694a4b43623254fc93ca51b59.1395735873.git.viresh.kumar@linaro.org Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/timer.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud