summaryrefslogtreecommitdiffstats
path: root/kernel/sched/cputime.c
diff options
context:
space:
mode:
authorStanislaw Gruszka <sgruszka@redhat.com>2016-11-15 03:06:49 +0100
committerIngo Molnar <mingo@kernel.org>2016-11-15 09:51:04 +0100
commit7008eb997bcfdd8c5274bb6672aa5d4e77994309 (patch)
treefa45e3f2c4957561fe84c6813847c84937d6a735 /kernel/sched/cputime.c
parentsched/deadline: Fix typo in a comment (diff)
downloadlinux-7008eb997bcfdd8c5274bb6672aa5d4e77994309.tar.xz
linux-7008eb997bcfdd8c5274bb6672aa5d4e77994309.zip
sched/cputime, powerpc: Remove cputime_last_delta global variable
Since commit: cf9efce0ce313 ("powerpc: Account time using timebase rather than PURR") cputime_last_delta is not initialized to other value than 0, hence it's not used except zero check and cputime_to_scaled() just returns the argument. Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com> Acked-by: Paul Mackerras <paulus@ozlabs.org> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Heiko Carstens <heiko.carstens@de.ibm.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Martin Schwidefsky <schwidefsky@de.ibm.com> Cc: Michael Neuling <mikey@neuling.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Link: http://lkml.kernel.org/r/1479175612-14718-2-git-send-email-fweisbec@gmail.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/sched/cputime.c')
0 files changed, 0 insertions, 0 deletions