]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
x86/microcode/intel: Remove unused arg of get_matching_model_microcode()
authorBorislav Petkov <bp@suse.de>
Wed, 3 Feb 2016 11:33:42 +0000 (12:33 +0100)
committerIngo Molnar <mingo@kernel.org>
Tue, 9 Feb 2016 10:41:18 +0000 (11:41 +0100)
@cpu is unused, kill it.

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-15-git-send-email-bp@alien8.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/cpu/microcode/intel.c

index 5970758bbcddfff73a1ff5db41f0954038f8fa57..0c67fd060680205a6d3eeb1f900fec7ef3870d4f 100644 (file)
@@ -287,7 +287,7 @@ static unsigned int _save_mc(struct microcode_intel **mc_saved,
  * BSP can stay in the platform.
  */
 static enum ucode_state __init
-get_matching_model_microcode(int cpu, unsigned long start,
+get_matching_model_microcode(unsigned long start,
                             void *data, size_t size,
                             struct mc_saved_data *mcs,
                             unsigned long *mc_ptrs,
@@ -564,7 +564,7 @@ scan_microcode(struct mc_saved_data *mcs, unsigned long *mc_ptrs,
                        return UCODE_ERROR;
        }
 
-       return get_matching_model_microcode(0, start, cd.data, cd.size,
+       return get_matching_model_microcode(start, cd.data, cd.size,
                                            mcs, mc_ptrs, uci);
 }