summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2017-05-01 13:40:23 +0200
committerIngo Molnar <mingo@kernel.org>2017-05-01 13:40:23 +0200
commitbfb8c6e495b9fc14c315e0f1550394b2137035b4 (patch)
treea9f9468b3bca9c8c606c0ed4fd5bea8eaef19580 /arch
parentLinux 4.11 (diff)
parentx86/microcode/AMD: Remove redundant NULL check on mc (diff)
downloadlinux-bfb8c6e495b9fc14c315e0f1550394b2137035b4.tar.xz
linux-bfb8c6e495b9fc14c315e0f1550394b2137035b4.zip
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);