misc: Remove unnecessary literal casts

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford
2021-01-02 20:37:31 +00:00
committed by Sebastien Boeuf
parent 05cdef17f4
commit fabd63072b
8 changed files with 21 additions and 21 deletions

View File

@@ -699,7 +699,7 @@ impl MemoryManager {
},
#[cfg(target_arch = "x86_64")]
{
1 << 16 as GuestUsize
1 << 16
},
GuestAddress(0),
mmio_address_space_size,
@@ -1370,7 +1370,7 @@ impl MemoryManager {
prot,
flags,
file.as_raw_fd(),
0 as libc::off_t,
0,
)
} as u64;