From: Viresh Kumar Date: Tue, 25 Mar 2014 08:26:23 +0000 (+0530) Subject: tick: Remove code duplication in tick_handle_periodic() X-Git-Tag: v3.15-rc1~153^2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b97f0291a2504291aef850077f98cab68a5a2f33;p=pandora-kernel.git 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 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 --- Reading git-diff-tree failed