x86/ucode: Remove declarations for non-external functions
authorAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 18 Mar 2020 21:34:20 +0000 (21:34 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 20 Mar 2020 18:42:24 +0000 (18:42 +0000)
commit0fde0493d7105ff8d8ffc07820dd3cb10035c51a
treec1343318d116dabb830ac4fb4c9e1752d44c16ed
parentf18f8d9d63822279618b69debd4d6b26d69da98d
x86/ucode: Remove declarations for non-external functions

Neither microcode_free_patch() nor early_microcode_update_cpu() have external
callers.  Make them static.

early_microcode_update_cpu()'s sole caller is following a use of
microcode_ops, making the error path dead.  Drop it as well.

No functional change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/microcode.c
xen/include/asm-x86/microcode.h
xen/include/asm-x86/processor.h