summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/cpu/microcode
diff options
context:
space:
mode:
authorBorislav Petkov <bp@suse.de>2016-02-03 12:33:42 +0100
committerIngo Molnar <mingo@kernel.org>2016-02-09 11:41:18 +0100
commit2f303c524ed021825671cfa9b1934338bc04f8ab (patch)
tree3f524c7c2d0e74e11c8568daf4ce01d549c11e4b /arch/x86/kernel/cpu/microcode
parentf8bb45e2c4acf1395bb6e61a135ce8c9107388cf (diff)
downloadop-kernel-dev-2f303c524ed021825671cfa9b1934338bc04f8ab.zip
op-kernel-dev-2f303c524ed021825671cfa9b1934338bc04f8ab.tar.gz
x86/microcode/intel: Remove unused arg of get_matching_model_microcode()
@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>
Diffstat (limited to 'arch/x86/kernel/cpu/microcode')
-rw-r--r--arch/x86/kernel/cpu/microcode/intel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/cpu/microcode/intel.c b/arch/x86/kernel/cpu/microcode/intel.c
index 5970758..0c67fd0 100644
--- a/arch/x86/kernel/cpu/microcode/intel.c
+++ b/arch/x86/kernel/cpu/microcode/intel.c
@@ -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);
}
OpenPOWER on IntegriCloud