summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2017-05-01 14:40:23 +0300
committerIngo Molnar <mingo@kernel.org>2017-05-01 14:40:23 +0300
commitbfb8c6e495b9fc14c315e0f1550394b2137035b4 (patch)
treea9f9468b3bca9c8c606c0ed4fd5bea8eaef19580 /arch
parenta351e9b9fc24e982ec2f0e76379a49826036da12 (diff)
parentcf8178f78645148dc38b28263b9d3f604148e3a8 (diff)
downloadlinux-bfb8c6e495b9fc14c315e0f1550394b2137035b4.tar.xz
Merge branch 'x86/microcode' into x86/urgent, to pick up cleanup
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kernel/cpu/microcode/amd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/kernel/cpu/microcode/amd.c b/arch/x86/kernel/cpu/microcode/amd.c
index 7889ae492af0..1d38e53c2d5c 100644
--- a/arch/x86/kernel/cpu/microcode/amd.c
+++ b/arch/x86/kernel/cpu/microcode/amd.c
@@ -352,8 +352,6 @@ void reload_ucode_amd(void)
u32 rev, dummy;
mc = (struct microcode_amd *)amd_ucode_patch;
- if (!mc)
- return;
rdmsr(MSR_AMD64_PATCH_LEVEL, rev, dummy);