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
This commit is contained in:
Borislav Petkov
2022-10-19 19:16:20 +02:00
parent 2071c0aeda
commit a61ac80ae5
4 changed files with 5 additions and 8 deletions

View File

@@ -477,7 +477,7 @@ static ssize_t reload_store(struct device *dev,
if (ret)
goto put;
tmp_ret = microcode_ops->request_microcode_fw(bsp, &microcode_pdev->dev, true);
tmp_ret = microcode_ops->request_microcode_fw(bsp, &microcode_pdev->dev);
if (tmp_ret != UCODE_NEW)
goto put;