aboutsummaryrefslogtreecommitdiff
path: root/arch/s390/include
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@openvz.org>2009-08-24 21:53:39 +0400
committerIngo Molnar <mingo@elte.hu>2009-08-26 08:16:38 +0200
commitffc438366c2660a6a811b94ba33229bf217f8254 (patch)
treee11a19fc4b206040aa8f68e8a6a15ffddfb3b168 /arch/s390/include
parent8f3e1df48baf728bbb0f242c9dff9c9d7108218a (diff)
x86, ioapic: Get rid of needless check and simplify ioapic_setup_resources()
alloc_bootmem() already panics on allocation failure. There is no need to check the result. Also there is a way to unbind global variable from its body and use it as a parameter which allow us to simplify ioapic_init_mappings as well -- "for" cycle already uses nr_ioapics as a conditional variable and there is no need to check if ioapic_setup_resources was returning NULL again. Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> Cc: Yinghai Lu <yinghai@kernel.org> LKML-Reference: <20090824175551.493629148@openvz.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/s390/include')
0 files changed, 0 insertions, 0 deletions