x86/microcode/intel: Cleanup apply_microcode_intel()
authorBorislav Petkov <bp@suse.de>
Wed, 3 Feb 2016 11:33:39 +0000 (12:33 +0100)
committerIngo Molnar <mingo@kernel.org>
Tue, 9 Feb 2016 10:41:17 +0000 (11:41 +0100)
commit26cbaa4dc676a444aa626cbc642c4c8181ef1378
treef60e5f7090931434b6d0ebebe1d4ce441e056f1e
parent58b5f2cc4bdbc9b616e68639f5a84886aa5be590
x86/microcode/intel: Cleanup apply_microcode_intel()

Get rid of local variable cpu_num as it is equal to @cpu now. Deref
cpu_data() only when it is really needed at the end.

No functionality change.

Tested-by: Thomas Voegtle <tv@lio96.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1454499225-21544-12-git-send-email-bp@alien8.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/cpu/microcode/intel.c