]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - arch/x86/kernel/process.c
x86: Remove dead hlt_use_halt code
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 25 Oct 2012 16:13:11 +0000 (18:13 +0200)
committerIngo Molnar <mingo@kernel.org>
Fri, 26 Oct 2012 10:25:03 +0000 (12:25 +0200)
commit4d0e42cc66f4e7e0bf08b29da1ae6ebd60549c4e
tree55b7753be0ec9cf952cfc81648924d0741cd3db6
parent2ab3f29dddfb444c9fcc0a2f3a56ed4bdba41969
x86: Remove dead hlt_use_halt code

The hlt_use_halt function returns always true and there is only
one definition of it.

The default_idle function can then get ride of the if ...
statement and we can remove the else branch.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: linaro-dev@lists.linaro.org
Cc: patches@linaro.org
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1351181591-8710-1-git-send-email-daniel.lezcano@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/process.c