Skip to content

Commit 87c78b5

Browse files
committed
refactor(vmm): Remove unnecessary pub visibility
Remove `pub` from `HYPERVISOR_BITINDEX` since it is not unsed outside `update_feature_info_entry()`. Signed-off-by: Takahiro Itazuri <[email protected]>
1 parent 89c32da commit 87c78b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vmm/src/cpu_config/x86_64/cpuid/normalize.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ impl super::Cpuid {
213213
const TSC_DEADLINE_BITINDEX: u8 = 24;
214214

215215
/// CPU is running on a hypervisor.
216-
pub const HYPERVISOR_BITINDEX: u8 = 31;
216+
const HYPERVISOR_BITINDEX: u8 = 31;
217217

218218
let leaf_1 = self
219219
.get_mut(&CpuidKey::leaf(0x1))

0 commit comments

Comments
 (0)