mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
vmm: Cleanup warning from build
Remove unnecessary parentheses from code and this will cleanup the warning from cargo build. Signed-off-by: Yang Zhong <yang.zhong@intel.com>
This commit is contained in:
committed by
Sebastien Boeuf
parent
22958261aa
commit
183529d024
@@ -42,7 +42,7 @@ const NUM_QUEUES: usize = 1;
|
||||
const QUEUE_SIZES: &[u16] = &[QUEUE_SIZE];
|
||||
|
||||
// Use 2 MiB alignment so transparent hugepages can be used by KVM.
|
||||
pub const VIRTIO_MEM_DEFAULT_BLOCK_SIZE: u64 = (512 * 4096);
|
||||
pub const VIRTIO_MEM_DEFAULT_BLOCK_SIZE: u64 = 512 * 4096;
|
||||
const VIRTIO_MEM_USABLE_EXTENT: u64 = 256 * 1024 * 1024;
|
||||
|
||||
// Request processed successfully, applicable for
|
||||
|
||||
Reference in New Issue
Block a user