KVM: x86: set "mitigate_smt_rsb" storage-class-specifier to static
authorTom Rix <trix@redhat.com>
Tue, 4 Apr 2023 01:01:41 +0000 (21:01 -0400)
committerSean Christopherson <seanjc@google.com>
Wed, 5 Apr 2023 23:47:35 +0000 (16:47 -0700)
commit944a8dad8b4eb0b565cc36600ee1339c21278d76
tree266bc346df0ed574b8f01eef5db4bf0d5fbbca7e
parent99b30869804ea59d9596cdbefa5cc3aabd588521
KVM: x86: set "mitigate_smt_rsb" storage-class-specifier to static

smatch reports
arch/x86/kvm/x86.c:199:20: warning: symbol
  'mitigate_smt_rsb' was not declared. Should it be static?

This variable is only used in one file so it should be static.

Signed-off-by: Tom Rix <trix@redhat.com>
Link: https://lore.kernel.org/r/20230404010141.1913667-1-trix@redhat.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/x86.c