x86/fpu, kvm: Simplify fx_init()
authorIngo Molnar <mingo@kernel.org>
Mon, 27 Apr 2015 04:58:22 +0000 (06:58 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 19 May 2015 13:47:51 +0000 (15:47 +0200)
commit0ee6a5172573aea06ef41f4e48737dcfab0099bb
tree9ecc31508f51ae4e7b82bcdd02edfd8b8e2e7a2f
parent2fb29fc7c690d3d318471c42a62a05153d433cc1
x86/fpu, kvm: Simplify fx_init()

Now that fpstate_init() cannot fail the error return of fx_init()
has lost its purpose. Eliminate the error return and propagate this
change to all callers.

Reviewed-by: Borislav Petkov <bp@alien8.de>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/x86.c