x86/microcode/intel: Simplify generic_load_microcode_early()
authorBorislav Petkov <bp@suse.de>
Tue, 10 Feb 2015 09:56:37 +0000 (10:56 +0100)
committerBorislav Petkov <bp@suse.de>
Mon, 2 Mar 2015 19:32:10 +0000 (20:32 +0100)
commit9e02bb46d366b3635da966e29c5a53920ee7fde8
tree23a3fb9cbeaccbc286d08c62e258e15479fea41c
parent58ce8d6d3a7616014dc70fd8d8f945176d74957c
x86/microcode/intel: Simplify generic_load_microcode_early()

* remove state variable and out label
* get rid of completely unused mc_size
* shorten variable names
* get rid of local variables
* don't do assignments in local var declarations for less cluttered code
* finally rename it to the shorter and perfectly fine load_microcode_early()

No functionality change.

Signed-off-by: Borislav Petkov <bp@suse.de>
arch/x86/kernel/cpu/microcode/intel_early.c