x86/microcode/amd: Fix two -Wunused-but-set-variable warnings
authorBorislav Petkov <bp@suse.de>
Sat, 28 Sep 2019 14:53:56 +0000 (16:53 +0200)
committerBorislav Petkov <bp@suse.de>
Tue, 1 Oct 2019 09:36:09 +0000 (11:36 +0200)
commit2b730952066cd022d1f46e801f06ca6ca9878823
tree61999e00e7254515f805d8d0d6deae64df811ac3
parent54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c
x86/microcode/amd: Fix two -Wunused-but-set-variable warnings

The dummy variable is the high part of the microcode revision MSR which
is defined as reserved. Mark it unused so that W=1 builds don't trigger
the above warning.

No functional changes.

Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: x86@kernel.org
Link: https://lkml.kernel.org/r/20190928162559.26294-1-bp@alien8.de
arch/x86/kernel/cpu/microcode/amd.c