diff options
author | Borislav Petkov <bp@suse.de> | 2022-10-19 19:16:20 +0200 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2022-11-02 16:45:46 +0100 |
commit | a61ac80ae52ea349416472cd52005f9988537208 (patch) | |
tree | 519d052de1213172aadd8f7b4e28a5d696f79ce6 /arch/x86/kernel/cpu/microcode/intel.c | |
parent | 2071c0aeda228107bf1b9e870b6187c90fbeef1d (diff) | |
download | lwn-a61ac80ae52ea349416472cd52005f9988537208.tar.gz lwn-a61ac80ae52ea349416472cd52005f9988537208.zip |
x86/microcode: Kill refresh_fw
request_microcode_fw() can always request firmware now so drop this
superfluous argument.
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Ashok Raj <ashok.raj@intel.com>
Link: https://lore.kernel.org/r/20221028142638.28498-4-bp@alien8.de
Diffstat (limited to 'arch/x86/kernel/cpu/microcode/intel.c')
-rw-r--r-- | arch/x86/kernel/cpu/microcode/intel.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/kernel/cpu/microcode/intel.c b/arch/x86/kernel/cpu/microcode/intel.c index 1fcbd671f1df..8c35c70029bf 100644 --- a/arch/x86/kernel/cpu/microcode/intel.c +++ b/arch/x86/kernel/cpu/microcode/intel.c @@ -885,8 +885,7 @@ static bool is_blacklisted(unsigned int cpu) return false; } -static enum ucode_state request_microcode_fw(int cpu, struct device *device, - bool refresh_fw) +static enum ucode_state request_microcode_fw(int cpu, struct device *device) { struct cpuinfo_x86 *c = &cpu_data(cpu); const struct firmware *firmware; |