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:
Yang Zhong
2020-04-07 15:05:13 +08:00
committed by Sebastien Boeuf
parent 22958261aa
commit 183529d024
3 changed files with 5 additions and 5 deletions

View File

@@ -19,7 +19,7 @@ use crate::filesystem::{
use crate::fuse::*;
use crate::{Error, Result};
const MAX_BUFFER_SIZE: u32 = (1 << 20);
const MAX_BUFFER_SIZE: u32 = 1 << 20;
const DIRENT_PADDING: [u8; 8] = [0; 8];
struct ZCReader<'a>(Reader<'a>);